Package ch.nolix.core.net.endpoint3
Klasse LocalEndPoint
java.lang.Object
ch.nolix.core.net.baseendpoint.BaseEndPoint
ch.nolix.core.net.endpoint3.EndPoint
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
KonstruktorBeschreibungCreates 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) boolean
void
runCommand
(IChainedNode command) Lets this local duplex controller run the given command.void
runCommands
(Iterable<? extends IChainedNode> commands) Von Klasse geerbte Methoden ch.nolix.core.net.endpoint3.EndPoint
assertIsOpen, hasReceivingDataProviderController, noteClose, runCommands, setReceivingDataProviderController
Von Klasse geerbte Methoden ch.nolix.core.net.baseendpoint.BaseEndPoint
getStoredCloseController, getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPoint
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrolapi.resourceclosingapi.CloseStateRequestable
isOpen
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrolapi.resourceclosingapi.GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosed
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.netapi.baseendpointapi.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
-
getSecurityLevel
-
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
-