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 void
close()
void
open()
ServerMessage
send(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:
send
in interfaceClientGate
- Throws:
java.io.IOException
java.lang.InterruptedException
-
open
public void open() throws java.net.UnknownHostException, java.io.IOException- Specified by:
open
in interfaceClientGate
- Throws:
java.net.UnknownHostException
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
close
in interfaceClientGate
- Throws:
java.io.IOException
-