Package ch.nolix.core.net.endpoint2
Klasse AbstractServer
java.lang.Object
ch.nolix.core.net.endpoint2.AbstractServer
- Alle implementierten Schnittstellen:
IServer,Closeable,CloseStateRequestable,GroupCloseable,Clearable,EmptinessRequestable,AutoCloseable
- Bekannte direkte Unterklassen:
LocalServer,Server,SslServer
- Version:
- 2017-03-05
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal voidaddDefaultSlot(ISlot defaultSlot) final voidfinal voidclear()Removes the elements of the currentClearable.final booleanfinal booleancontainsSlotWithName(String name) final ICloseControllerfinal booleanisEmpty()protected abstract voidnoteAddedDefaultSlot(ISlot defaultSlot) Notes that the given defaultSlot has been added to the currentAbstractServer.protected abstract voidnoteAddedSlot(ISlot slot) Notes that the given slot has been added to the currentAbstractServer.final voidLets the currentGroupCloseablenote a close.protected abstract voidnoteRemovedSlot(ISlot slot) Notes that the given slot has been removed from the currentAbstractServer.final voidremoveSlotByName(String name) Von 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.state.staterequest.EmptinessRequestable
containsAnyVon Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrol.closecontroller.GroupCloseable
close, createCloseDependencyTo, isClosedVon Schnittstelle geerbte Methoden ch.nolix.coreapi.net.endpoint2.IServer
getSecurityMode
-
Konstruktordetails
-
AbstractServer
public AbstractServer()
-
-
Methodendetails
-
addDefaultSlot
- Angegeben von:
addDefaultSlotin SchnittstelleIServer
-
addSlot
-
clear
public final void clear()Removes the elements of the currentClearable. -
containsDefaultSlot
public final boolean containsDefaultSlot()- Angegeben von:
containsDefaultSlotin SchnittstelleIServer
-
containsSlotWithName
- Angegeben von:
containsSlotWithNamein SchnittstelleIServer
-
getStoredCloseController
- Angegeben von:
getStoredCloseControllerin SchnittstelleGroupCloseable- Gibt zurück:
- the
ICloseControllerof the currentGroupCloseable.
-
isEmpty
public final boolean isEmpty()- Angegeben von:
isEmptyin SchnittstelleEmptinessRequestable- Gibt zurück:
- true if
EmptinessRequestabledoes not contain an element.
-
noteClose
public final void noteClose()Lets the currentGroupCloseablenote a close.- Angegeben von:
noteClosein SchnittstelleGroupCloseable
-
removeSlotByName
- Angegeben von:
removeSlotByNamein SchnittstelleIServer
-
noteAddedDefaultSlot
Notes that the given defaultSlot has been added to the currentAbstractServer.- Parameter:
defaultSlot-
-
noteAddedSlot
Notes that the given slot has been added to the currentAbstractServer.- Parameter:
slot-
-
noteRemovedSlot
Notes that the given slot has been removed from the currentAbstractServer.- Parameter:
slot-
-