|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrabbit.io.BoundBinder
public class BoundBinder
A binder that will bind to a specific InetAddress
Constructor Summary | |
---|---|
BoundBinder(InetAddress ia)
Create a new SocketBinder that will always bind to the given InetAddress. |
Method Summary | |
---|---|
InetAddress |
getInetAddress()
Get the inet address to bind to, return null to get the wildcard. |
int |
getPort()
Get the port number to bind to, use 0 to let the system pick a port. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoundBinder(InetAddress ia)
ia
- the InetAddress to useMethod Detail |
---|
public int getPort()
SocketBinder
getPort
in interface SocketBinder
public InetAddress getInetAddress()
SocketBinder
getInetAddress
in interface SocketBinder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |