Package ch.nolix.system.consoleclient
Class FrontConsoleClient
- java.lang.Object
-
- ch.nolix.system.client.Client<FGC>
-
- ch.nolix.system.baseguiclient.BaseFrontGUIClient<FrontConsoleClient>
-
- ch.nolix.system.consoleclient.FrontConsoleClient
-
- All Implemented Interfaces:
ICloseableElement
,Castable
,IFluentObject<FrontConsoleClient>
,ISmartObject<FrontConsoleClient>
,Listable<FrontConsoleClient>
,Transformable<FrontConsoleClient>
,TypeRequestable
,OptionalLabelable<FrontConsoleClient>
,OptionalLabeled
,CloseStateRequestable
,Closeable
public final class FrontConsoleClient extends BaseFrontGUIClient<FrontConsoleClient>
- Author:
- Silvan Wyss
-
-
Constructor Summary
Constructors Constructor Description FrontConsoleClient()
Creates a newFrontConsoleClient
that will connect to the default application on the default port.FrontConsoleClient(int port)
Creates a newFrontConsoleClient
that will connect to the default application on the given port.FrontConsoleClient(Application<BackConsoleClient> application)
Creates a newFrontConsoleClient
that will connect to the given application.FrontConsoleClient(Server server, java.lang.String application)
Creates a newFrontConsoleClient
that will connect to the given application on the server.FrontConsoleClient(java.lang.String ip, int port, java.lang.String application)
Creates a newFrontConsoleClient
that will connect to the given application on the given port on the machine with the given ip.
-
Method Summary
-
Methods inherited from class ch.nolix.system.baseguiclient.BaseFrontGUIClient
getGUIType, noteInputOnCounterpart
-
Methods inherited from class ch.nolix.system.client.Client
belongsToApplication, containsCurrentSession, containsNextSession, containsPreviousSession, getApplicationName, getCurrentSessionIndex, getInfoString, getRefApplicationContext, getRefApplicationContextAs, getRefCloseController, getRefSecondTopSession, getSessionStackSize, getTarget, hasInfoString, hasTarget, isClosed, isLocalClient, isNetClient, isWebClient, removeInfoString, setInfoString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.nolix.common.skillapi.Closeable
asAutoClosable
-
Methods inherited from interface ch.nolix.common.requestapi.CloseStateRequestable
isOpen
-
Methods inherited from interface ch.nolix.common.closeableelement.ICloseableElement
assertIsOpen, close, createCloseDependencyTo, hasCloseDependencyTo, hasPreCloseAction, setPreCloseAction
-
Methods inherited from interface ch.nolix.common.generalskillapi.IFluentObject
asConcrete
-
Methods inherited from interface ch.nolix.common.generalskillapi.Listable
intoList, intoListAs
-
Methods inherited from interface ch.nolix.common.optionalattributeapi.OptionalLabeled
getInfoStringInQuotes, hasInfoString
-
Methods inherited from interface ch.nolix.common.generalskillapi.Transformable
to, to
-
Methods inherited from interface ch.nolix.common.generalskillapi.TypeRequestable
getType, getTypeInPlural, getTypes, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
-
-
-
Constructor Detail
-
FrontConsoleClient
public FrontConsoleClient()
Creates a newFrontConsoleClient
that will connect to the default application on the default port.
-
FrontConsoleClient
public FrontConsoleClient(Application<BackConsoleClient> application)
Creates a newFrontConsoleClient
that will connect to the given application.- Parameters:
application
-- Throws:
ArgumentIsNullException
- if the given target application is null.
-
FrontConsoleClient
public FrontConsoleClient(int port)
Creates a newFrontConsoleClient
that will connect to the default application on the given port.- Parameters:
port
-- Throws:
ArgumentIsOutOfRangeException
- if the given port is not in [0,65535].
-
FrontConsoleClient
public FrontConsoleClient(Server server, java.lang.String application)
Creates a newFrontConsoleClient
that will connect to the given application on the server.- Parameters:
server
-application
-- Throws:
ArgumentIsNullException
- if the given application is null.InvalidArgumentException
- if the given application is blank.
-
FrontConsoleClient
public FrontConsoleClient(java.lang.String ip, int port, java.lang.String application)
Creates a newFrontConsoleClient
that will connect to the given application on the given port on the machine with the given ip.- Parameters:
ip
-port
-application
-- Throws:
ArgumentIsNullException
- if the given application is null.InvalidArgumentException
- if the given application is blank.
-
-