- java.lang.Object
-
- swim.runtime.HostAddress
-
- All Implemented Interfaces:
swim.codec.Debug,CellAddress,EdgeAddressed,HostAddressed,MeshAddressed,PartAddressed
public final class HostAddress extends Object implements EdgeAddressed, MeshAddressed, PartAddressed, HostAddressed, swim.codec.Debug
-
-
Constructor Summary
Constructors Constructor Description HostAddress(String edgeName, swim.uri.Uri meshUri, swim.structure.Value partKey, swim.uri.Uri hostUri)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(swim.codec.Output<?> output)StringedgeName()booleanequals(Object other)static HostAddressfrom(String edgeName, String meshUri, swim.structure.Value partKey, String hostUri)static HostAddressfrom(String edgeName, swim.uri.Uri meshUri, swim.structure.Value partKey, swim.uri.Uri hostUri)inthashCode()swim.uri.UrihostUri()HostAddresshostUri(String hostUri)HostAddresshostUri(swim.uri.Uri hostUri)swim.uri.UrimeshUri()HostAddressmeshUri(String meshUri)HostAddressmeshUri(swim.uri.Uri meshUri)NodeAddressnodeUri(String nodeUri)NodeAddressnodeUri(swim.uri.Uri nodeUri)swim.structure.ValuepartKey()HostAddresspartKey(swim.structure.Value partKey)StringtoString()
-
-
-
Constructor Detail
-
HostAddress
public HostAddress(String edgeName, swim.uri.Uri meshUri, swim.structure.Value partKey, swim.uri.Uri hostUri)
-
-
Method Detail
-
edgeName
public String edgeName()
- Specified by:
edgeNamein interfaceEdgeAddressed
-
meshUri
public swim.uri.Uri meshUri()
- Specified by:
meshUriin interfaceMeshAddressed
-
meshUri
public HostAddress meshUri(swim.uri.Uri meshUri)
- Specified by:
meshUriin interfaceEdgeAddressed- Specified by:
meshUriin interfaceMeshAddressed
-
meshUri
public HostAddress meshUri(String meshUri)
- Specified by:
meshUriin interfaceEdgeAddressed- Specified by:
meshUriin interfaceMeshAddressed
-
partKey
public swim.structure.Value partKey()
- Specified by:
partKeyin interfacePartAddressed
-
partKey
public HostAddress partKey(swim.structure.Value partKey)
- Specified by:
partKeyin interfaceMeshAddressed- Specified by:
partKeyin interfacePartAddressed
-
hostUri
public swim.uri.Uri hostUri()
- Specified by:
hostUriin interfaceHostAddressed
-
hostUri
public HostAddress hostUri(swim.uri.Uri hostUri)
- Specified by:
hostUriin interfaceHostAddressed- Specified by:
hostUriin interfacePartAddressed
-
hostUri
public HostAddress hostUri(String hostUri)
- Specified by:
hostUriin interfaceHostAddressed- Specified by:
hostUriin interfacePartAddressed
-
nodeUri
public NodeAddress nodeUri(swim.uri.Uri nodeUri)
- Specified by:
nodeUriin interfaceHostAddressed
-
nodeUri
public NodeAddress nodeUri(String nodeUri)
- Specified by:
nodeUriin interfaceHostAddressed
-
debug
public void debug(swim.codec.Output<?> output)
- Specified by:
debugin interfaceswim.codec.Debug
-
from
public static HostAddress from(String edgeName, swim.uri.Uri meshUri, swim.structure.Value partKey, swim.uri.Uri hostUri)
-
from
public static HostAddress from(String edgeName, String meshUri, swim.structure.Value partKey, String hostUri)
-
-