Package org.jspace.gate
Class KeepClientGate
java.lang.Object
org.jspace.gate.KeepClientGate
- All Implemented Interfaces:
ClientGate
public class KeepClientGate extends java.lang.Object implements ClientGate
-
Constructor Summary
Constructors Constructor Description KeepClientGate(jSpaceMarshaller marshaller, java.lang.String host, int port, java.lang.String target) -
Method Summary
Modifier and Type Method Description voidclose()voidopen()ServerMessagesend(ClientMessage m)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
KeepClientGate
public KeepClientGate(jSpaceMarshaller marshaller, java.lang.String host, int port, java.lang.String target)
-
-
Method Details
-
send
public ServerMessage send(ClientMessage m) throws java.io.IOException, java.lang.InterruptedException- Specified by:
sendin interfaceClientGate- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
open
public void open() throws java.net.UnknownHostException, java.io.IOException- Specified by:
openin interfaceClientGate- Throws:
java.net.UnknownHostExceptionjava.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceClientGate- Throws:
java.io.IOException
-