All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----Refable | +----utah.npm.core.Port
Summary |
public class Port extends Refable { // Constructors 2 public Port(Object, Reference); public Port(Object, Reference, int); // Methods 4 public void destroy(); protected void s_init(Object, Reference, int); public void setAlias(Object); public String toString(); }
A Port is a server-side IPC connection point. Ports are aggregated into a single PortSet for server threads to service. Clients connect to a Port through a Port Reference.
Constructors |
· Port | Summary | Top |
public Port(Object alias, Reference portSet)
Create a new Port object. The provided alias will be returned to server threads that service client threads which connnect through this port. See IPC.serverWaitReceive()
Parameter Description alias the object alias to associate with this Port portSet the PortSet to associate this object with.
See Also: IPC.serverWaitReceive
· Port | Summary | Top |
public Port(Object alias, Reference portSet, int hashCode)
Create a new Port object. The provided alias will be returned to server threads that service client threads which connnect through this port. See IPC.serverWaitReceive()
Parameter Description alias the object alias to associate with this Port portSet the PortSet to associate this object with. hashCode the hashcode to use for this object.
See Also: IPC.serverWaitReceive
Methods |
· s_init | Summary | Top |
protected void s_init(Object alias, Reference portSet, int hashCode)
Performs internal initalization of this Port.
Parameter Description alias the object alias to associate with this Port portSet the PortSet to associate this object with. hashCode the hashcode to use for this object.
· setAlias | Summary | Top |
public void setAlias(Object alias)
Set the alias object associated with this Port.
Parameter Description alias the object alias to associate with this Port
· destroy | Summary | Top |
public void destroy()
Destroy this Port object.
· toString | Summary | Top |
public String toString()
Generate a string representation of this Port (includes the alias and PortSet)
- Returns:
- a string describing this Port.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7