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 void
close()
boolean
isActive()
boolean
isClosed()
ClientMessage
receive()
boolean
send(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:
receive
in interfaceClientHandler
- Throws:
java.io.IOException
-
send
- Specified by:
send
in interfaceClientHandler
-
isActive
public boolean isActive()- Specified by:
isActive
in interfaceClientHandler
-
close
public void close() throws java.io.IOException- Specified by:
close
in interfaceClientHandler
- Throws:
java.io.IOException
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceClientHandler
-