rabbit.io
Interface SocketBinder

All Known Implementing Classes:
BoundBinder, DefaultBinder

public interface SocketBinder

Used to control how WebConection bind to the local sockets.

Author:
Robert Olofsson

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.
 

Method Detail

getPort

int getPort()
Get the port number to bind to, use 0 to let the system pick a port.


getInetAddress

InetAddress getInetAddress()
Get the inet address to bind to, return null to get the wildcard.