Class StandardApplication<C extends AbstractBackendClient<C,S>, S>
java.lang.Object
ch.nolix.base.net.clientserver.AbstractApplication<C,S>
ch.nolix.base.net.clientserver.StandardApplication<C,S>
- Type Parameters:
C- the type of theAbstractBackendClients of aStandardApplicationS- the type of the application service of aStandardApplication
- All Implemented Interfaces:
NameHolder, Application<C,S>, ClientManager<C>
public final class StandardApplication<C extends AbstractBackendClient<C,S>, S>
extends AbstractApplication<C,S>
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptiongetName()static <C2 extends AbstractBackendClient<C2,S2>, T extends AbstractSession<C2, S2>, S2>
StandardApplication<C2, S2> withNameAndApplicationServiceAndInitialSessionClass(String applicationName, S2 applicationService, Class<T> initialSessionClass) Methods inherited from class AbstractApplication
belongsToServer, getClientClass, getStoredApplicationService, getStoredClients, getUrlName, hasClientConnected, internalSetParentServer, takeBackendClient, toTargetMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NameHolder
getNameInSingleQuotes, hasName, hasSameNameAs
-
Method Details
-
withNameAndApplicationServiceAndInitialSessionClass
public static <C2 extends AbstractBackendClient<C2,S2>, T extends AbstractSession<C2, StandardApplication<C2,S2>, S2> S2> withNameAndApplicationServiceAndInitialSessionClass(String applicationName, S2 applicationService, Class<T> initialSessionClass) -
getName
- Returns:
- the name of the current
NameHolder
-