Package org.jspace.gate
Class ConnClientHandler
java.lang.Object
org.jspace.gate.ConnClientHandler
- All Implemented Interfaces:
ClientHandler
public class ConnClientHandler extends java.lang.Object implements ClientHandler
-
Constructor Summary
Constructors Constructor Description ConnClientHandler(jSpaceMarshaller marshaller, java.net.Socket client) -
Method Summary
Modifier and Type Method Description voidclose()booleanisActive()booleanisClosed()ClientMessagereceive()booleansend(ServerMessage m)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ConnClientHandler
public ConnClientHandler(jSpaceMarshaller marshaller, java.net.Socket client) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Details
-
receive
- Specified by:
receivein interfaceClientHandler- Throws:
java.io.IOException
-
send
- Specified by:
sendin interfaceClientHandler
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceClientHandler
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceClientHandler- Throws:
java.io.IOException
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceClientHandler
-