org.siebengeisslein.net
Interface MessageSocket

All Known Implementing Classes:
MessageSocketImpl

public interface MessageSocket


Method Summary
 void close()
           
 Message getNextMessage()
           
 java.lang.String getProtocol()
           
 java.lang.String getProtocolFeatures()
           
 java.lang.String getProtocolVersion()
           
 void setClosing()
           
 void write(ClientMessage message, boolean flush)
           
 

Method Detail

getProtocol

java.lang.String getProtocol()

getProtocolFeatures

java.lang.String getProtocolFeatures()

getProtocolVersion

java.lang.String getProtocolVersion()

getNextMessage

Message getNextMessage()
                       throws java.io.IOException
Throws:
java.io.IOException

write

void write(ClientMessage message,
           boolean flush)
           throws java.io.IOException
Throws:
java.io.IOException

setClosing

void setClosing()

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException