Package ch.nolix.core.net.endpoint3
Klasse NetEndPoint
java.lang.Object
ch.nolix.core.net.baseendpoint.AbstractBaseEndPoint
ch.nolix.core.net.endpoint3.AbstractEndPoint
ch.nolix.core.net.endpoint3.NetEndPoint
- Alle implementierten Schnittstellen:
IBaseEndPoint,IController,IDataProvider,IDataProviderController,IEndPoint,Closeable,CloseStateRequestable,GroupCloseable,AutoCloseable
- Version:
- 2016-01-01
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungNetEndPoint(int port) Creates a newNetEndPointthat will connect to the default slot on the given port on the local machine.NetEndPoint(int port, String targetSlot) Creates a newNetEndPointthat will connect to the given targetSlot on the given port on the local machine.NetEndPoint(String ip) Creates a newNetEndPointthat will connect to the default slot on the default port on the machine with the given ip.NetEndPoint(String ip, int port) Creates a newNetEndPointthat will connect to the default slot on the given port on the machine with the given ip.NetEndPoint(String ip, int port, String targetSlot) Creates a newNetEndPointthat will connect to the given target slot on the given port on the machine with the given ip. -
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) 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
-
NetEndPoint
public NetEndPoint(int port) Creates a newNetEndPointthat will connect to the default slot on the given port on the local machine.- Parameter:
port-- Löst aus:
ArgumentIsOutOfRangeException- if the given port is not in [0, 65535].
-
NetEndPoint
Creates a newNetEndPointthat will connect to the given targetSlot on the given port on the local machine.- Parameter:
port-targetSlot-- Löst aus:
ArgumentIsOutOfRangeException- if the given port is not in [0, 65535].ArgumentIsNullException- if the given targetSlot is null.InvalidArgumentException- if the given targetSlot is blank.
-
NetEndPoint
Creates a newNetEndPointthat will connect to the default slot on the default port on the machine with the given ip.- Parameter:
ip-
-
NetEndPoint
Creates a newNetEndPointthat will connect to the default slot on the given port on the machine with the given ip.- Parameter:
ip-port-- Löst aus:
ArgumentIsOutOfRangeException- if the given port is not in [0, 65535].
-
NetEndPoint
Creates a newNetEndPointthat will connect to the given target slot on the given port on the machine with the given ip.- Parameter:
ip-port-targetSlot-- Löst aus:
ArgumentIsOutOfRangeException- if the given port is not in [0, 65535].ArgumentIsNullException- if the given targetSlot is null.InvalidArgumentException- if the given targetSlot is blank.
-
-
Methodendetails
-
getConnectionType
-
getCustomTargetSlot
-
getDataForRequest
-
getDataForRequests
public IContainer<? extends INode<?>> getDataForRequests(IChainedNode request, IChainedNode... requests) -
getDataForRequests
-
getPeerType
-
getSecurityMode
-
hasCustomTargetSlot
public boolean hasCustomTargetSlot() -
runCommand
-
runCommands
-