Package ch.nolix.core.net.endpoint
Klasse AbstractNetEndPoint
java.lang.Object
ch.nolix.core.net.baseendpoint.AbstractBaseEndPoint
ch.nolix.core.net.endpoint.AbstractEndPoint
ch.nolix.core.net.endpoint.AbstractNetEndPoint
- Alle implementierten Schnittstellen:
IBaseEndPoint
,IEndPoint
,Closeable
,CloseStateRequestable
,GroupCloseable
,AutoCloseable
- Bekannte direkte Unterklassen:
SocketEndPoint
A
AbstractNetEndPoint
can send messages to an other
AbstractNetEndPoint
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 currentAbstractNetEndPoint
send the given message.protected final void
sendRawMessage
(char rawMessage) Lets the currentAbstractNetEndPoint
send the given rawMessage.protected abstract void
sendRawMessage
(String rawMessage) Lets the currentAbstractNetEndPoint
send the given rawMessage.protected final void
Sends the target message of the currentAbstractNetEndPoint
to the counterpart of the currentAbstractNetEndPoint
.Von Klasse geerbte Methoden ch.nolix.core.net.endpoint.AbstractEndPoint
assertIsOpen, getCustomTargetSlot, getStoredReceiver, hasCustomTargetSlot, hasReceiver, setCustomTargetSlot, setReceiver
Von Klasse geerbte Methoden ch.nolix.core.net.baseendpoint.AbstractBaseEndPoint
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, getSecurityMode, getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPoint
-
Methodendetails
-
sendMessage
Lets the currentAbstractNetEndPoint
send the given message.- Parameter:
message
-
-
hasTargetInfo
protected final boolean hasTargetInfo()- Gibt zurück:
- true if the current
AbstractNetEndPoint
has a target info.
-
sendRawMessage
protected final void sendRawMessage(char rawMessage) Lets the currentAbstractNetEndPoint
send the given rawMessage.- Parameter:
rawMessage
-
-
sendRawMessage
Lets the currentAbstractNetEndPoint
send the given rawMessage.- Parameter:
rawMessage
-
-
sendTargetMessage
protected final void sendTargetMessage()Sends the target message of the currentAbstractNetEndPoint
to the counterpart of the currentAbstractNetEndPoint
.
-