public abstract class PortEmbed
extends java.lang.Object
Constructor and Description |
---|
PortEmbed() |
Modifier and Type | Method and Description |
---|---|
abstract void |
bindTo(ServletService server)
Binds the port to the server
|
java.lang.String |
getAddress()
The binding address
|
abstract int |
getLocalPort()
Returns the local, bound port
|
int |
getPort()
The TCP port
|
void |
setAddress(java.lang.String address)
The binding address
|
void |
setPort(int port)
The TCP port
|
public void setPort(int port)
public int getPort()
public abstract int getLocalPort()
public void setAddress(java.lang.String address)
public java.lang.String getAddress()
public abstract void bindTo(ServletService server)