Package org.jspace.gate
Class KeepClientHandler
java.lang.Object
org.jspace.gate.KeepClientHandler
- All Implemented Interfaces:
ClientHandler
public class KeepClientHandler extends java.lang.Object implements ClientHandler
-
Constructor Summary
Constructors Constructor Description KeepClientHandler(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
-
KeepClientHandler
public KeepClientHandler(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
-