Interface HubPrincipalConnection.IPeer

Enclosing class:
HubPrincipalConnection

public static interface HubPrincipalConnection.IPeer
The end point behind a connection.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Disposes of the end point: the connection closes.
    Gets who the connection is from.
  • Method Details

    • getRemoteDescription

      String getRemoteDescription()
      Gets who the connection is from.
      Returns:
      E.g. addr / host.
    • disposePeer

      void disposePeer()
      Disposes of the end point: the connection closes.