Klasse LocalEndPoint
java.lang.Object
ch.nolix.core.net.baseendpoint.AbstractBaseEndPoint
ch.nolix.core.net.endpoint.AbstractEndPoint
ch.nolix.core.net.endpoint.LocalEndPoint
- Alle implementierten Schnittstellen:
IBaseEndPoint, IEndPoint, Closeable, CloseStateRequestable, GroupCloseable, AutoCloseable
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidLets the currentGroupCloseablenote a close.voidsendMessage(String message) Lets the currentLocalEndPointsend the given message.static LocalEndPointstatic LocalEndPointtoTargetSlotOnServer(AbstractServer server, String targetSlot) Von Klasse geerbte Methoden AbstractEndPoint
assertIsOpen, getCustomTargetSlot, getStoredReceiver, hasCustomTargetSlot, hasReceiver, setCustomTargetSlot, setReceiverVon 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, isClosedVon Schnittstelle geerbte Methoden IBaseEndPoint
getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPoint
-
Methodendetails
-
toSlot
- Parameter:
slot-- Gibt zurück:
- a new
LocalEndPointthat will connect to the given slot. - Löst aus:
ArgumentIsNullException- if the given target is null.
-
toTargetSlotOnServer
- Parameter:
server-targetSlot-- Gibt zurück:
- a new
LocalEndPointthat will connect to the given slot on the given server. - Löst aus:
NullPointerException- if the given server is null.ArgumentIsNullException- if the given targetSlot is null.InvalidArgumentException- if the given targetSlot is blank.
-
getConnectionType
-
getPeerType
-
getSecurityMode
-
noteClose
public void noteClose()Lets the currentGroupCloseablenote a close. -
sendMessage
Lets the currentLocalEndPointsend the given message.- Parameter:
message-- Löst aus:
ArgumentIsNullException- if the given message is null.ClosedArgumentException- if the currentLocalEndPointis closed.
-