org.siebengeisslein.net
Class MessageSocketImpl
java.lang.Object
org.siebengeisslein.net.MessageSocketImpl
- All Implemented Interfaces:
- MessageSocket
public class MessageSocketImpl
- extends java.lang.Object
- implements MessageSocket
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageSocketImpl
public MessageSocketImpl(java.lang.String host,
int port)
throws java.io.IOException
- Throws:
java.io.IOException
getProtocol
public java.lang.String getProtocol()
- Specified by:
getProtocol in interface MessageSocket
getProtocolFeatures
public java.lang.String getProtocolFeatures()
- Specified by:
getProtocolFeatures in interface MessageSocket
getProtocolVersion
public java.lang.String getProtocolVersion()
- Specified by:
getProtocolVersion in interface MessageSocket
getNextMessage
public Message getNextMessage()
throws java.io.IOException
- Specified by:
getNextMessage in interface MessageSocket
- Throws:
java.io.IOException
write
public void write(ClientMessage message,
boolean flush)
throws java.io.IOException
- Specified by:
write in interface MessageSocket
- Throws:
java.io.IOException
setClosing
public void setClosing()
- Specified by:
setClosing in interface MessageSocket
close
public void close()
throws java.io.IOException
- Specified by:
close in interface MessageSocket
- Throws:
java.io.IOException