Interface INCommHost


public interface INCommHost
Since:
CS5
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    Add a new connection to this ncomm host instance.
    void
    Terminate the host forcibly closing all active connections
  • Method Details

    • addConnection

      void addConnection(InputStream in, OutputStream out) throws NativeCommException
      Add a new connection to this ncomm host instance.
      Parameters:
      in - - connection InputStream
      out - - connection OutputStream
      Throws:
      NativeCommException - - on error
    • activeClients

      int activeClients()
      Returns:
      number of currently connected clients
    • dispose

      void dispose()
      Terminate the host forcibly closing all active connections