|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.net.nio.NIOWriter
public class NIOWriter
A thread that writes socket data using NIO .
Data is written in packets that are enqued on our buffer.
Packets are sent to the sockets in the order that they are received.
| Constructor Summary | |
|---|---|
NIOWriter(IErrorReporter reporter,
java.lang.String threadSuffix)
|
|
| Method Summary | |
|---|---|
void |
closed(java.nio.channels.SocketChannel channel)
Remove the data for this channel |
void |
enque(SocketWriteData data,
java.nio.channels.SocketChannel channel)
|
void |
shutDown()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NIOWriter(IErrorReporter reporter,
java.lang.String threadSuffix)
| Method Detail |
|---|
public void shutDown()
public void closed(java.nio.channels.SocketChannel channel)
public void enque(SocketWriteData data,
java.nio.channels.SocketChannel channel)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||