Brooklyn

brooklyn.location.basic
[Java] Interface SupportsPortForwarding


public interface SupportsPortForwarding

Nested Class Summary
interface SupportsPortForwarding.RequiresPortForwarding

marker on a location to indicate that port forwarding should be done automatically for attempts to access from Brooklyn

 
Method Summary
HostAndPort getSocketEndpointFor(Cidr accessor, int privatePort)

returns an endpoint suitable for contacting the indicated private port on this object, from the given Cidr, creating it if necessary and possible; may return null if forwarding not available

 

Method Detail

getSocketEndpointFor

public HostAndPort getSocketEndpointFor(Cidr accessor, int privatePort)
returns an endpoint suitable for contacting the indicated private port on this object, from the given Cidr, creating it if necessary and possible; may return null if forwarding not available


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.