|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INetworkManager
Method Summary | |
---|---|
void |
addToSendQueue(Packet var1)
Adds the packet to the correct send queue (chunk data packets go to a separate queue). |
void |
closeConnections()
|
SocketAddress |
getSocketAddress()
Return the InetSocketAddress of the remote endpoint |
void |
networkShutdown(String var1,
Object... var2)
Shuts down the network with the specified reason. |
int |
packetSize()
returns 0 for memoryConnections |
void |
processReadPackets()
Checks timeouts and processes all pending read packets. |
void |
serverShutdown()
Shuts down the server. |
void |
setNetHandler(NetHandler var1)
Sets the NetHandler for this NetworkManager. |
void |
wakeThreads()
Wakes reader and writer threads |
Method Detail |
---|
void setNetHandler(NetHandler var1)
void addToSendQueue(Packet var1)
void wakeThreads()
void processReadPackets()
SocketAddress getSocketAddress()
void serverShutdown()
int packetSize()
void networkShutdown(String var1, Object... var2)
void closeConnections()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |