Package ch.nolix.core.net.endpoint3
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
Modifizierer 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 ch.nolix.core.net.endpoint3.AbstractEndPoint
assertIsOpen, hasReceivingDataProviderController, noteClose, runCommands, setReceivingDataProviderControllerVon Klasse geerbte Methoden ch.nolix.core.net.baseendpoint.AbstractBaseEndPoint
getStoredCloseController, getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPointVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrol.closecontroller.CloseStateRequestable
isOpenVon Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrol.closecontroller.GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosedVon Schnittstelle geerbte Methoden ch.nolix.coreapi.net.baseendpoint.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
-