Package ch.nolix.core.net.endpoint
Klasse NetEndPoint
java.lang.Object
ch.nolix.core.net.baseendpoint.BaseEndPoint
ch.nolix.core.net.endpoint.EndPoint
ch.nolix.core.net.endpoint.NetEndPoint
- Alle implementierten Schnittstellen:
IBaseEndPoint
,IEndPoint
,Closeable
,CloseStateRequestable
,GroupCloseable
,AutoCloseable
- Bekannte direkte Unterklassen:
SocketEndPoint
A
NetEndPoint
can send messages to an other NetEndPoint
that
is on: -the same process on the local computer -another process on the local
computer -another process on another computer- Version:
- 2016-01-01
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected final boolean
final void
sendMessage
(String message) Lets the currentNetEndPoint
send the given message.protected final void
sendRawMessage
(char rawMessage) Lets the currentNetEndPoint
send the given rawMessage.protected abstract void
sendRawMessage
(String rawMessage) Lets the currentNetEndPoint
send the given rawMessage.protected final void
Sends the target message of the currentNetEndPoint
to the counterpart of the currentNetEndPoint
.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, noteClose
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.netapi.baseendpointapi.IBaseEndPoint
getConnectionType, getPeerType, getSecurityLevel, getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPoint
-
Methodendetails
-
sendMessage
Lets the currentNetEndPoint
send the given message.- Parameter:
message
-
-
hasTargetInfo
protected final boolean hasTargetInfo()- Gibt zurück:
- true if the current
NetEndPoint
has a target info.
-
sendRawMessage
protected final void sendRawMessage(char rawMessage) Lets the currentNetEndPoint
send the given rawMessage.- Parameter:
rawMessage
-
-
sendRawMessage
Lets the currentNetEndPoint
send the given rawMessage.- Parameter:
rawMessage
-
-
sendTargetMessage
protected final void sendTargetMessage()Sends the target message of the currentNetEndPoint
to the counterpart of the currentNetEndPoint
.
-