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
    class  ConnClientGate.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
    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

    • 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:
      send in interface ClientGate
      Throws:
      java.lang.InterruptedException
      java.net.UnknownHostException
      java.io.IOException
    • open

      public void open() throws java.net.UnknownHostException, java.io.IOException
      Specified by:
      open in interface ClientGate
      Throws:
      java.net.UnknownHostException
      java.io.IOException
    • close

      public void close() throws java.io.IOException
      Specified by:
      close in interface ClientGate
      Throws:
      java.io.IOException