|
XNIO version 1.2.0.GA | ||||||||
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(SocketAddress address)
Bind the entity to a socket address. |
void |
bind(String hostName,
int port)
Bind the entity to a host and port. |
void |
unbind(SocketAddress 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(SocketAddress address) throws IOException
address
- the address
IOException
- if an error occursvoid bind(String hostName, int port) throws IOException
hostName
- the host nameport
- the port number
IOException
- if an error occursvoid unbind(SocketAddress address) throws IOException
address
- the address
IOException
- if an error occursvoid unbind(String hostName, int port) throws IOException
hostName
- the host nameport
- the port number
IOException
- if an error occurs
|
XNIO version 1.2.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |