Package ch.nolix.core.net.endpoint2
Klasse BaseServer
java.lang.Object
ch.nolix.core.net.endpoint2.BaseServer
- 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
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal void
addDefaultSlot
(ISlot defaultSlot) final void
final void
clear()
Removes the elements of the currentClearable
.final boolean
final boolean
containsSlotWithName
(String name) final CloseController
final boolean
isEmpty()
protected abstract void
noteAddedDefaultSlot
(ISlot defaultSlot) Notes that the given defaultSlot has been added to the currentBaseServer
.protected abstract void
noteAddedSlot
(ISlot slot) Notes that the given slot has been added to the currentBaseServer
.final void
Lets the currentGroupCloseable
note a close.protected abstract void
noteRemovedSlot
(ISlot slot) Notes that the given slot has been removed from the currentBaseServer
.final void
removeSlotByName
(String name) 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.stateapi.staterequestapi.EmptinessRequestable
containsAny
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrolapi.resourceclosingapi.GroupCloseable
close, createCloseDependencyTo, isClosed
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.netapi.endpoint2api.IServer
getSecurityLevel
-
Konstruktordetails
-
BaseServer
public BaseServer()
-
-
Methodendetails
-
addDefaultSlot
- Angegeben von:
addDefaultSlot
in SchnittstelleIServer
-
addSlot
-
clear
public final void clear()Removes the elements of the currentClearable
. -
containsDefaultSlot
public final boolean containsDefaultSlot()- Angegeben von:
containsDefaultSlot
in SchnittstelleIServer
-
containsSlotWithName
- Angegeben von:
containsSlotWithName
in SchnittstelleIServer
-
getStoredCloseController
- Angegeben von:
getStoredCloseController
in SchnittstelleGroupCloseable
- Gibt zurück:
- the
ICloseController
of the currentGroupCloseable
.
-
isEmpty
public final boolean isEmpty()- Angegeben von:
isEmpty
in SchnittstelleEmptinessRequestable
- Gibt zurück:
- true if
EmptinessRequestable
does not contain an element.
-
noteClose
public final void noteClose()Lets the currentGroupCloseable
note a close.- Angegeben von:
noteClose
in SchnittstelleGroupCloseable
-
removeSlotByName
- Angegeben von:
removeSlotByName
in SchnittstelleIServer
-
noteAddedDefaultSlot
Notes that the given defaultSlot has been added to the currentBaseServer
.- Parameter:
defaultSlot
-
-
noteAddedSlot
Notes that the given slot has been added to the currentBaseServer
.- Parameter:
slot
-
-
noteRemovedSlot
Notes that the given slot has been removed from the currentBaseServer
.- Parameter:
slot
-
-