Package ch.nolix.core.net.endpoint
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
- Version:
- 2017-05-06
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer 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 ch.nolix.core.net.endpoint.AbstractEndPoint
assertIsOpen, getCustomTargetSlot, getStoredReceiver, hasCustomTargetSlot, hasReceiver, setCustomTargetSlot, setReceiverVon Klasse geerbte Methoden ch.nolix.core.net.baseendpoint.AbstractBaseEndPoint
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.resourcecontrol.closecontroller.CloseStateRequestable
isOpenVon Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrol.closecontroller.GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosedVon Schnittstelle geerbte Methoden ch.nolix.coreapi.net.baseendpoint.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.
-