Package org.jspace.gate
Class ConnClientGate
java.lang.Object
org.jspace.gate.ConnClientGate
- All Implemented Interfaces:
ClientGate
public class ConnClientGate extends java.lang.Object implements ClientGate
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classConnClientGate.ConnInteractionHandler -
Constructor Summary
Constructors Constructor Description ConnClientGate(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
-
ConnClientGate
public ConnClientGate(jSpaceMarshaller marshaller, java.lang.String host, int port, java.lang.String target)
-
-
Method Details
-
send
public ServerMessage send(ClientMessage m) throws java.lang.InterruptedException, java.net.UnknownHostException, java.io.IOException- Specified by:
sendin interfaceClientGate- Throws:
java.lang.InterruptedExceptionjava.net.UnknownHostExceptionjava.io.IOException
-
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
-