Package ch.nolix.core.net.endpoint
Klasse EndPoint
java.lang.Object
ch.nolix.core.net.baseendpoint.BaseEndPoint
ch.nolix.core.net.endpoint.EndPoint
- Alle implementierten Schnittstellen:
IBaseEndPoint
,IEndPoint
,Closeable
,CloseStateRequestable
,GroupCloseable
,AutoCloseable
- Bekannte direkte Unterklassen:
LocalEndPoint
,NetEndPoint
- Version:
- 2017-05-06
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected final void
final String
final boolean
final boolean
protected final void
setCustomTargetSlot
(String customTargetSlot) Sets the custom target slot of the currentEndPoint
.final void
setReceiver
(Consumer<String> receiver) 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, noteClose
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.netapi.baseendpointapi.IBaseEndPoint
getConnectionType, getPeerType, getSecurityLevel, getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPoint
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.netapi.endpointapi.IEndPoint
sendMessage
-
Konstruktordetails
-
EndPoint
public EndPoint()
-
-
Methodendetails
-
getCustomTargetSlot
- Angegeben von:
getCustomTargetSlot
in SchnittstelleIBaseEndPoint
-
hasCustomTargetSlot
public final boolean hasCustomTargetSlot()- Angegeben von:
hasCustomTargetSlot
in SchnittstelleIBaseEndPoint
-
hasReceiver
public final boolean hasReceiver()- Angegeben von:
hasReceiver
in SchnittstelleIEndPoint
-
setReceiver
- Angegeben von:
setReceiver
in SchnittstelleIEndPoint
-
assertIsOpen
protected final void assertIsOpen()- Löst aus:
ClosedArgumentException
- if the currentEndPoint
is closed.
-
getStoredReceiver
- Gibt zurück:
- the receiver of the current
EndPoint
. - Löst aus:
ArgumentDoesNotHaveAttributeException
- if the currentEndPoint
does not have a receiver.
-
setCustomTargetSlot
Sets the custom target slot of the currentEndPoint
.- Parameter:
customTargetSlot
-- Löst aus:
ArgumentIsNullException
- if the given customTargetSlot is null.InvalidArgumentException
- if the given customTargetSlot is blank.ClosedArgumentException
- if the currentEndPoint
is closed.
-