public interface Port
extends java.io.Serializable
bind(Port.TYPE).| Modifier and Type | Interface and Description |
|---|---|
static class |
Port.TYPE |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Port.TYPE type)
Prepares the port so that a socket may be bound.
|
java.lang.String |
getName()
Returns the port name.
|
int |
getNumber()
Returns the port number.
|
void |
release()
Releases all port locks.
|
java.lang.String getName()
int getNumber()
void bind(Port.TYPE type)
type - the socket type to bindvoid release()