Class SenderAndReceiverSlot
java.lang.Object
ch.nolix.base.net.senderandreplierserver.SenderAndReceiverSlot
- All Implemented Interfaces:
NameHolder, Slot
-
Method Summary
Modifier and TypeMethodDescriptiongetName()voidtakeBackendEndPoint(EndPoint backendEndPoint) static SenderAndReceiverSlotwithNameAndParentServer(String name, AbstractServer parentServer) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NameHolder
getNameInSingleQuotes, hasName, hasSameNameAs
-
Method Details
-
withNameAndParentServer
public static SenderAndReceiverSlot withNameAndParentServer(String name, AbstractServer parentServer) - Parameters:
name-parentServer-- Returns:
- a new
SenderAndReceiverSlotwith the given name and that will belong to the given parentServer - Throws:
RuntimeException- if given name is null or blankRuntimeException- if the given parentServer is null
-
getName
- Specified by:
getNamein interfaceNameHolder- Returns:
- the name of the current
NameHolder
-
takeBackendEndPoint
- Specified by:
takeBackendEndPointin interfaceSlot
-