Klasse NetEndPoint

Alle implementierten Schnittstellen:
Closeable, CloseStateRequestable, IBaseEndPoint, IController, IDataProvider, IDataProviderController, IEndPoint, GroupCloseable, AutoCloseable

public final class NetEndPoint extends EndPoint
Autor:
Silvan Wyss
  • Konstruktordetails

    • NetEndPoint

      public NetEndPoint(int port)
      Creates a new NetEndPoint that will connect to the default slot on the given port on the local machine.
      Parameter:
      port -
      Löst aus:
      ArgumentIsOutOfRangeException - if the given port is not in [0, 65535].
    • NetEndPoint

      public NetEndPoint(int port, String targetSlot)
      Creates a new NetEndPoint that will connect to the given targetSlot on the given port on the local machine.
      Parameter:
      port -
      targetSlot -
      Löst aus:
      ArgumentIsOutOfRangeException - if the given port is not in [0, 65535].
      ArgumentIsNullException - if the given targetSlot is null.
      InvalidArgumentException - if the given targetSlot is blank.
    • NetEndPoint

      public NetEndPoint(String ip)
      Creates a new NetEndPoint that will connect to the default slot on the default port on the machine with the given ip.
      Parameter:
      ip -
    • NetEndPoint

      public NetEndPoint(String ip, int port)
      Creates a new NetEndPoint that will connect to the default slot on the given port on the machine with the given ip.
      Parameter:
      ip -
      port -
      Löst aus:
      ArgumentIsOutOfRangeException - if the given port is not in [0, 65535].
    • NetEndPoint

      public NetEndPoint(String ip, int port, String targetSlot)
      Creates a new NetEndPoint that will connect to the given target slot on the given port on the machine with the given ip.
      Parameter:
      ip -
      port -
      targetSlot -
      Löst aus:
      ArgumentIsOutOfRangeException - if the given port is not in [0, 65535].
      ArgumentIsNullException - if the given targetSlot is null.
      InvalidArgumentException - if the given targetSlot is blank.
  • Methodendetails