public interface Server
Modifier and Type | Interface and Description |
---|---|
static class |
Server.TRANSMISSION_PROTOCOL |
static interface |
Server.TransmissionProtocol |
Modifier and Type | Method and Description |
---|---|
Session |
getSession() |
InetSocketAddress |
getSocketAddress() |
Server.TransmissionProtocol |
getTransmissionProtocol() |
void |
setSession(Session session) |
void |
startServer() |
void |
startServer(InetSocketAddress socketAddress) |
void |
startServer(int port) |
void |
stopServer() |
Server.TransmissionProtocol getTransmissionProtocol()
void startServer(InetSocketAddress socketAddress) throws Exception
Exception
InetSocketAddress getSocketAddress()
Session getSession()
void setSession(Session session)
Copyright © 2013. All Rights Reserved.