A B C D E G I K L M O P R S T V W

R

readBufferIsEmpty - Variable in class org.javagamesfactory.nioservers.StringBasedServer
 
readByteBuffers - Variable in class org.javagamesfactory.nioservers.StringBasedServer
 
readCharBuffers - Variable in class org.javagamesfactory.nioservers.StringBasedServer
 
readIncomingMessageFromKey(SelectionKey) - Method in class org.javagamesfactory.nioservers.StringBasedServer
An intelligent read-from-bytebuffer-into-string method that seamlessly copes with partial reads.
receiveMessage(String) - Method in interface org.javagamesfactory.nioservers.iMessageProcessor
Handles incoming messages that have been read from the SocketChannel and need to be processed locally
ResponseListener - Class in org.javagamesfactory.nioservers
FIXME: this class has the same bug that originally existed in the StringBasedServer - if it receives fewer than 4 bytes in the first read of a message, it will NOT correctly handle that (it needs the same workaround in SBS, i.e needs to check if the very first read reads fewer than 4 bytes, and if so, ignore it, reset one buffer, advance the other, and try again)
ResponseListener(String, iMessageProcessor, SocketChannel, Charset) - Constructor for class org.javagamesfactory.nioservers.ResponseListener
 
run() - Method in class org.javagamesfactory.nioservers.ResponseListener
Continuously reads from the channel, with a blocking-read, until it receives a complete message, which it then passes to the message processor.
run() - Method in class org.javagamesfactory.nioservers.StringBasedServer
Core of the server; this method runs continuously once the server has started, and continues until a successful call is made to the stop method

A B C D E G I K L M O P R S T V W