Package ch.nolix.core.net.endpoint
Klasse LocalEndPoint
java.lang.Object
ch.nolix.core.net.baseendpoint.BaseEndPoint
ch.nolix.core.net.endpoint.EndPoint
ch.nolix.core.net.endpoint.LocalEndPoint
- Alle implementierten Schnittstellen:
IBaseEndPoint
,IEndPoint
,Closeable
,CloseStateRequestable
,GroupCloseable
,AutoCloseable
- Version:
- 2017-05-06
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Lets the currentGroupCloseable
note a close.void
sendMessage
(String message) Lets the currentLocalEndPoint
send the given message.static LocalEndPoint
static LocalEndPoint
toTargetSlotOnServer
(BaseServer server, String targetSlot) Von Klasse geerbte Methoden ch.nolix.core.net.endpoint.EndPoint
assertIsOpen, getCustomTargetSlot, getStoredReceiver, hasCustomTargetSlot, hasReceiver, setCustomTargetSlot, setReceiver
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
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.netapi.baseendpointapi.IBaseEndPoint
getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPoint
-
Methodendetails
-
toSlot
- Parameter:
slot
-- Gibt zurück:
- a new
LocalEndPoint
that 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
LocalEndPoint
that 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
-
getSecurityLevel
-
noteClose
public void noteClose()Lets the currentGroupCloseable
note a close. -
sendMessage
Lets the currentLocalEndPoint
send the given message.- Parameter:
message
-- Löst aus:
ArgumentIsNullException
- if the given message is null.ClosedArgumentException
- if the currentLocalEndPoint
is closed.
-