|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetworkConnector
Base management interface for a network connector used to handle some protocol in order to talk to some part of the Geronimo server.
Method Summary | |
---|---|
String |
getHost()
Gets the hostname/IP that this connector listens on. |
InetSocketAddress |
getListenAddress()
Every connector must specify a property of type InetSocketAddress because we use that to identify the network services to print a list during startup. |
int |
getPort()
Gets the network port that this connector listens on. |
String |
getProtocol()
Gets the network protocol that this connector handles. |
void |
setHost(String host)
Sets the hostname/IP that this connector listens on. |
void |
setPort(int port)
Sets the network port that this connector listens on. |
Method Detail |
---|
String getProtocol()
int getPort()
void setPort(int port)
String getHost()
void setHost(String host) throws UnknownHostException
UnknownHostException
InetSocketAddress getListenAddress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |