Interface IEndpoint

All Known Implementing Classes:
EndpointAdapter, NettyHttpEndpoint, NettyTcpEndpoint, NettyTcpProxyEndpoint, NettyWebEndpoint

public interface IEndpoint
The Interface IEndpoint.
Author:
JTraber
  • Method Details

    • setHost

      void setHost(String host)
      Sets the host.
      Parameters:
      host - the host
    • setPort

      void setPort(int port)
      Sets the port.
      Parameters:
      port - the port
    • destroy

      void destroy()
      Destroys endpoint.
    • create

      void create()
      Creates an endpoint.
    • startsListenAsync

      void startsListenAsync() throws Exception
      Starts listen asynchronous. Starts listener in a separate thread.
      Throws:
      Exception - the exception
    • startListenSync

      void startListenSync() throws Exception
      Start listen synchronous. Starts listener in current thread. Does not give back control.
      Throws:
      Exception - the exception
    • stopListening

      void stopListening()
      Stop listening.
    • getResponder

      IResponder getResponder()
      Gets the responder.
      Returns:
      the responder
    • setResponder

      void setResponder(IResponder resp)
      Sets the responder.
      Parameters:
      resp - the new responder
    • dump

      void dump(XMLDumpWriter writer) throws Exception
      Dump the endpoint into the xml writer.
      Parameters:
      writer - the writer
      Throws:
      Exception - the exception