|
XNIO API 2.1.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InetBindable

A managed object which may be bound and unbound to a socket address.
| Method Summary | |
|---|---|
void |
bind(InetSocketAddress address)
Bind the entity to a socket address. |
void |
bind(String hostName,
int port)
Bind the entity to a host and port. |
void |
unbind(InetSocketAddress address)
Unbind the entity from a socket address. |
void |
unbind(String hostName,
int port)
Unbind the entity from a host and port. |
| Method Detail |
|---|
void bind(InetSocketAddress address)
throws IOException
address - the address
IOException - if an error occurs
void bind(String hostName,
int port)
throws IOException
hostName - the host nameport - the port number
IOException - if an error occurs
void unbind(InetSocketAddress address)
throws IOException
address - the address
IOException - if an error occurs
void unbind(String hostName,
int port)
throws IOException
hostName - the host nameport - the port number
IOException - if an error occurs
|
XNIO API 2.1.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||