|
XNIO API 2.0.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(java.net.InetSocketAddress address)
Bind the entity to a socket address. |
void |
bind(java.lang.String hostName,
int port)
Bind the entity to a host and port. |
void |
unbind(java.net.InetSocketAddress address)
Unbind the entity from a socket address. |
void |
unbind(java.lang.String hostName,
int port)
Unbind the entity from a host and port. |
Method Detail |
---|
void bind(java.net.InetSocketAddress address) throws java.io.IOException
address
- the address
java.io.IOException
- if an error occursvoid bind(java.lang.String hostName, int port) throws java.io.IOException
hostName
- the host nameport
- the port number
java.io.IOException
- if an error occursvoid unbind(java.net.InetSocketAddress address) throws java.io.IOException
address
- the address
java.io.IOException
- if an error occursvoid unbind(java.lang.String hostName, int port) throws java.io.IOException
hostName
- the host nameport
- the port number
java.io.IOException
- if an error occurs
|
XNIO API 2.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |