Klasse AbstractEndPoint
java.lang.Object
ch.nolix.core.net.baseendpoint.AbstractBaseEndPoint
ch.nolix.core.net.endpoint.AbstractEndPoint
- Alle implementierten Schnittstellen:
IBaseEndPoint, IEndPoint, Closeable, CloseStateRequestable, GroupCloseable, AutoCloseable
- Bekannte direkte Unterklassen:
AbstractNetEndPoint, LocalEndPoint
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungprotected final voidfinal Stringfinal booleanfinal booleanprotected final voidsetCustomTargetSlot(String customTargetSlot) Sets the custom target slot of the currentAbstractEndPoint.final voidsetReceiver(Consumer<String> receiver) Von Klasse geerbte Methoden AbstractBaseEndPoint
getStoredCloseController, getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPointVon Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden CloseStateRequestable
isOpenVon Schnittstelle geerbte Methoden GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosed, noteCloseVon Schnittstelle geerbte Methoden IBaseEndPoint
getConnectionType, getPeerType, getSecurityMode, getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPointVon Schnittstelle geerbte Methoden IEndPoint
sendMessage
-
Konstruktordetails
-
AbstractEndPoint
public AbstractEndPoint()
-
-
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 currentAbstractEndPointis closed.
-
getStoredReceiver
- Gibt zurück:
- the receiver of the current
AbstractEndPoint. - Löst aus:
ArgumentDoesNotHaveAttributeException- if the currentAbstractEndPointdoes not have a receiver.
-
setCustomTargetSlot
Sets the custom target slot of the currentAbstractEndPoint.- Parameter:
customTargetSlot-- Löst aus:
ArgumentIsNullException- if the given customTargetSlot is null.InvalidArgumentException- if the given customTargetSlot is blank.ClosedArgumentException- if the currentAbstractEndPointis closed.
-