Class AbstractServer
java.lang.Object
ch.nolix.base.net.level3server.AbstractServer
- All Implemented Interfaces:
IServer, Closeable, CloseStateRequestable, GroupCloseable, Clearable, EmptinessRequestable, AutoCloseable
- Direct Known Subclasses:
LocalServer, Server, SslServer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddDefaultSlot(ISlot defaultSlot) final voidfinal voidclear()Removes the elements of the currentClearable.final booleanfinal booleancontainsSlotWithName(String name) final ICloseControllerfinal booleanisEmpty()final voidLets the currentGroupCloseablenote a close.final voidremoveSlotByName(String name) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseStateRequestable
isOpenMethods inherited from interface EmptinessRequestable
containsAnyMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, isClosedMethods inherited from interface IServer
getSecurityMode
-
Constructor Details
-
AbstractServer
public AbstractServer()
-
-
Method Details
-
addDefaultSlot
- Specified by:
addDefaultSlotin interfaceIServer
-
addSlot
-
clear
-
containsDefaultSlot
public final boolean containsDefaultSlot()- Specified by:
containsDefaultSlotin interfaceIServer
-
containsSlotWithName
- Specified by:
containsSlotWithNamein interfaceIServer
-
getStoredCloseController
- Specified by:
getStoredCloseControllerin interfaceGroupCloseable- Returns:
- the
ICloseControllerof the currentGroupCloseable.
-
isEmpty
public final boolean isEmpty()- Specified by:
isEmptyin interfaceEmptinessRequestable- Returns:
- true if
EmptinessRequestabledoes not contain an element, false otherwise.
-
noteClose
public final void noteClose()Lets the currentGroupCloseablenote a close.- Specified by:
noteClosein interfaceGroupCloseable
-
removeSlotByName
- Specified by:
removeSlotByNamein interfaceIServer
-