Package ch.nolix.core.net.endpoint
Klasse EndPoint
java.lang.Object
ch.nolix.core.net.baseendpoint.AbstractEndPoint
ch.nolix.core.net.endpoint.EndPoint
- Alle implementierten Schnittstellen:
IBaseEndPoint,IEndPoint,Closeable,CloseStateRequestable,GroupCloseable,AutoCloseable
- Bekannte direkte Unterklassen:
AbstractNetEndPoint,LocalEndPoint
- Version:
- 2017-05-06
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected final voidfinal Stringfinal booleanfinal booleanprotected final voidsetCustomTargetSlot(String customTargetSlot) Sets the custom target slot of the currentEndPoint.final voidsetReceiver(Consumer<String> receiver) Von Klasse geerbte Methoden ch.nolix.core.net.baseendpoint.AbstractEndPoint
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.resourcecontrolapi.resourceclosingapi.CloseStateRequestable
isOpenVon Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrolapi.resourceclosingapi.GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosed, noteCloseVon Schnittstelle geerbte Methoden ch.nolix.coreapi.netapi.baseendpointapi.IBaseEndPoint
getConnectionType, getPeerType, getSecurityMode, getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPointVon Schnittstelle geerbte Methoden ch.nolix.coreapi.netapi.endpointapi.IEndPoint
sendMessage
-
Konstruktordetails
-
EndPoint
public EndPoint()
-
-
Methodendetails
-
getCustomTargetSlot
- Angegeben von:
getCustomTargetSlotin SchnittstelleIBaseEndPoint
-
hasCustomTargetSlot
public final boolean hasCustomTargetSlot()- Angegeben von:
hasCustomTargetSlotin SchnittstelleIBaseEndPoint
-
hasReceiver
public final boolean hasReceiver()- Angegeben von:
hasReceiverin SchnittstelleIEndPoint
-
setReceiver
- Angegeben von:
setReceiverin SchnittstelleIEndPoint
-
assertIsOpen
protected final void assertIsOpen()- Löst aus:
ClosedArgumentException- if the currentEndPointis closed.
-
getStoredReceiver
- Gibt zurück:
- the receiver of the current
EndPoint. - Löst aus:
ArgumentDoesNotHaveAttributeException- if the currentEndPointdoes 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 currentEndPointis closed.
-