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 booleanfinal voidsendMessage(String message) Lets the currentAbstractNetEndPointsend the given message.protected final voidsendRawMessage(char rawMessage) Lets the currentAbstractNetEndPointsend the given rawMessage.protected abstract voidsendRawMessage(String rawMessage) Lets the currentAbstractNetEndPointsend the given rawMessage.protected final voidSends the target message of the currentAbstractNetEndPointto the counterpart of the currentAbstractNetEndPoint.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, isClosed, noteCloseVon Schnittstelle geerbte Methoden ch.nolix.coreapi.net.baseendpoint.IBaseEndPoint
getConnectionType, getPeerType, getSecurityMode, getTargetSlotDefinition, hasDefaultTargetSlot, isBackendEndPoint, isFrontendEndPoint, isLocalEndPoint, isSocketEndPoint, isWebSocketEndPoint
-
Methodendetails
-
sendMessage
Lets the currentAbstractNetEndPointsend the given message.- Parameter:
message-
-
hasTargetInfo
protected final boolean hasTargetInfo()- Gibt zurück:
- true if the current
AbstractNetEndPointhas a target info.
-
sendRawMessage
protected final void sendRawMessage(char rawMessage) Lets the currentAbstractNetEndPointsend the given rawMessage.- Parameter:
rawMessage-
-
sendRawMessage
Lets the currentAbstractNetEndPointsend the given rawMessage.- Parameter:
rawMessage-
-
sendTargetMessage
protected final void sendTargetMessage()Sends the target message of the currentAbstractNetEndPointto the counterpart of the currentAbstractNetEndPoint.
-