Klasse LocalEndPoint
java.lang.Object
ch.nolix.core.net.baseendpoint.AbstractBaseEndPoint
ch.nolix.core.net.endpoint3.AbstractEndPoint
ch.nolix.core.net.endpoint3.LocalEndPoint
- Alle implementierten Schnittstellen:
IBaseEndPoint, IController, IDataProvider, IDataProviderController, IEndPoint, Closeable, CloseStateRequestable, GroupCloseable, AutoCloseable
A local duplex controller can interact with another local duplex controller.
- Version:
- 2016-01-01
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new local duplex controller that will connect to another new local duplex controller.LocalEndPoint(ISlot target) Creates a new local duplex controller that will connect to the given target. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungINode<?> getDataForRequest(IChainedNode request) IContainer<? extends INode<?>> getDataForRequests(IChainedNode request, IChainedNode... requests) IContainer<? extends INode<?>> getDataForRequests(Iterable<? extends IChainedNode> requests) booleanvoidrunCommand(IChainedNode command) Lets this local duplex controller run the given command.voidrunCommands(Iterable<? extends IChainedNode> commands) Von Klasse geerbte Methoden AbstractEndPoint
assertIsOpen, hasReceivingDataProviderController, noteClose, runCommands, setReceivingDataProviderControllerVon Klasse geerbte Methoden AbstractBaseEndPoint
getStoredCloseController, getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPointVon Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden CloseStateRequestable
isOpenVon Schnittstelle geerbte Methoden GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosedVon Schnittstelle geerbte Methoden IBaseEndPoint
getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPoint
-
Konstruktordetails
-
LocalEndPoint
public LocalEndPoint()Creates a new local duplex controller that will connect to another new local duplex controller. -
LocalEndPoint
Creates a new local duplex controller that will connect to the given target.- Parameter:
target-
-
-
Methodendetails
-
getConnectionType
-
getDataForRequest
- 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
-
getStoredCounterpart
- Gibt zurück:
- the counterpart of this local duplex controller.
-
getCustomTargetSlot
- Gibt zurück:
- the target of this local duplex controller.
-
getPeerType
-
getSecurityMode
-
hasCustomTargetSlot
public boolean hasCustomTargetSlot() -
runCommand
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
-