Class AbstractServer
java.lang.Object
ch.nolix.base.net.executoranddataproviderserver.AbstractServer
- All Implemented Interfaces:
Clearable, EmptinessRequestable, Server, SecurityModeHolder, Closeable, GroupCloseable, OpennessRequestable, AutoCloseable
- Direct Known Subclasses:
LocalServer, Server, SslServer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddDefaultSlot(Slot 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 EmptinessRequestable
containsAnyMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, isClosedMethods inherited from interface OpennessRequestable
isOpenMethods inherited from interface SecurityModeHolder
getSecurityMode
-
Constructor Details
-
AbstractServer
public AbstractServer()
-
-
Method Details
-
addDefaultSlot
- Specified by:
addDefaultSlotin interfaceServer
-
addSlot
-
clear
-
containsDefaultSlot
public final boolean containsDefaultSlot()- Specified by:
containsDefaultSlotin interfaceServer
-
containsSlotWithName
- Specified by:
containsSlotWithNamein interfaceServer
-
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 interfaceServer
-