Class LocalEndPoint
java.lang.Object
ch.nolix.base.net.baseendpoint.AbstractBaseEndPoint
ch.nolix.base.net.level3server.AbstractEndPoint
ch.nolix.base.net.level3server.LocalEndPoint
- All Implemented Interfaces:
IBaseEndPoint, IController, IDataProvider, IDataProviderController, IEndPoint, Closeable, CloseStateRequestable, GroupCloseable, AutoCloseable
A
LocalEndPoint can communicate with another LocalEndPoint.- Author:
- Silvan Wyss
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newLocalEndPointthat will connect to another new local duplex controller. -
Method Summary
Modifier and TypeMethodDescriptionINode<?> getDataForRequest(IChainedNode request) IContainer<? extends INode<?>> getDataForRequests(IChainedNode... requests) IContainer<? extends INode<?>> getDataForRequests(Iterable<? extends IChainedNode> requests) booleanvoidrunCommand(IChainedNode command) voidrunCommands(Iterable<? extends IChainedNode> commands) static LocalEndPointMethods inherited from class AbstractEndPoint
hasReceivingDataProviderController, noteClose, runCommands, setReceivingDataProviderControllerMethods inherited from class AbstractBaseEndPoint
getStoredCloseController, getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPointMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseStateRequestable
isOpenMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosedMethods inherited from interface IBaseEndPoint
getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPoint
-
Constructor Details
-
LocalEndPoint
public LocalEndPoint()Creates a newLocalEndPointthat will connect to another new local duplex controller.
-
-
Method Details
-
toSlot
- Parameters:
slot-- Returns:
- a new
LocalEndPointthat will connect to the given slot. - Throws:
RuntimeException- if the given slot is null.
-
getConnectionType
-
getDataForRequest
- Returns:
- the data the given request requests from this local duplex controller.
- Throws:
ArgumentDoesNotHaveAttributeException- if thisLocalEndPointdoes not have a receiver controller.
-
getDataForRequests
-
getDataForRequests
-
getStoredCounterpart
- Returns:
- the counterpart of this
LocalEndPoint.
-
getCustomTargetSlot
- Returns:
- the target of this
LocalEndPoint.
-
getPeerType
-
getSecurityMode
-
hasCustomTargetSlot
public boolean hasCustomTargetSlot() -
runCommand
-
runCommands
-