Klasse LocalEndPoint

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

public final class LocalEndPoint extends EndPoint
A local duplex controller can interact with another local duplex controller.
Version:
2016-01-01
Autor:
Silvan Wyss
  • Konstruktordetails

    • LocalEndPoint

      public LocalEndPoint()
      Creates a new local duplex controller that will connect to another new local duplex controller.
    • LocalEndPoint

      public LocalEndPoint(ISlot target)
      Creates a new local duplex controller that will connect to the given target.
      Parameter:
      target -
  • Methodendetails

    • getConnectionType

      public ConnectionType getConnectionType()
    • getDataForRequest

      public INode<?> getDataForRequest(IChainedNode request)
      Gibt zurück:
      the data the given request requests from this local duplex controller.
      Löst aus:
      ArgumentDoesNotHaveAttributeException - if this local duplex controller does not have a receiver controller.
    • getDataForRequests

      public IContainer<? extends INode<?>> getDataForRequests(IChainedNode request, IChainedNode... requests)
    • getDataForRequests

      public IContainer<? extends INode<?>> getDataForRequests(Iterable<? extends IChainedNode> requests)
    • getStoredCounterpart

      public LocalEndPoint getStoredCounterpart()
      Gibt zurück:
      the counterpart of this local duplex controller.
    • getCustomTargetSlot

      public String getCustomTargetSlot()
      Gibt zurück:
      the target of this local duplex controller.
    • getPeerType

      public PeerType getPeerType()
    • getSecurityLevel

      public SecurityMode getSecurityLevel()
    • hasCustomTargetSlot

      public boolean hasCustomTargetSlot()
    • runCommand

      public void runCommand(IChainedNode command)
      Lets this local duplex controller run the given command.
      Parameter:
      command -
      Löst aus:
      ClosedArgumentException - if this local duplex controller is closed.
      ArgumentDoesNotHaveAttributeException - if this local duplex controller does not have a receiver controller.
    • runCommands

      public void runCommands(Iterable<? extends IChainedNode> commands)