public class CommandlineUtilityServer extends IfsProtocolServer implements Serializable, CupConstants
IfsServer.ServerRequest| Modifier and Type | Field and Description | 
|---|---|
static String | 
CUP_DESCRIPTIVE_NAME  | 
static String | 
CUP_NAME  | 
static String | 
CUP_STATUS  | 
static int | 
DEFAULT_PORT  | 
protected boolean | 
m_ObfuscateIds  | 
static String | 
OBFUSCATE_IDS
ObfuscateIds 
 | 
LOCALE_COUNTRY, LOCALE_LANGUAGE, LOCALE_VARIANT, LOCALHOST_DEFAULT, m_AcceptQueueSize, m_AnonymousAllowed, m_AnonymousName, m_AnonymousPool, m_AnonymousPoolsize, m_BindAddress, m_Channels, m_ChannelSequence, m_Commands, m_ControlPort, m_ControlSocketServer, m_DateFormat, m_Delimiter, m_HostAddress, m_HostName, m_LastStaleSessionRemoval, m_Locale, m_LocaleCountry, m_LocaleLanguage, m_LocaleVariant, m_Localhost, m_Localizer, m_ProtocolSessions, m_Random, m_SessionStateTimeoutPeriod, m_SessionTimeoutPeriod, m_StaleSessionRemovalPeriod, m_VersionLEVEL_HIGH, LEVEL_LOW, LEVEL_MEDIUM, LEVEL_OFFACCEPT_QUEUE_SIZE, ANONYMOUS_ALLOWED, ANONYMOUS_POOLSIZE, DATE_FORMAT, DELIMITER, HOST_ADDRESS, HOST_NAME, LAST_STALE_SESSION_REMOVAL_TIME, LIBRARY_VERSION, LOCALHOST, PORT, SESSION_STATE_TIMEOUT_PERIOD, SESSION_TIMEOUT_PERIOD, STALE_SESSION_REMOVAL_PERIODSERVERSTATUS_DISPOSED, SERVERSTATUS_RUNNING, SERVERSTATUS_STARTING, SERVERSTATUS_STOPPED, SERVERSTATUS_STOPPING, SERVERSTATUS_SUSPENDED, SERVERSTATUS_UNKNOWN| Constructor and Description | 
|---|
CommandlineUtilityServer()
Default Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected IfsServerChannel | 
constructChannel(Socket socket,
                int channelKey,
                String threadName)
Construct an IfsProtocolChannel. 
 | 
protected String | 
getAcceptQueueSizeKey()  | 
protected String | 
getAnonymousAllowedKey()  | 
protected String | 
getAnonymousPoolsizeKey()  | 
protected String | 
getAnonymousPoolSizeKey()  | 
protected String | 
getDateFormatKey()  | 
int | 
getDefaultPort()
get Server's default port. 
 | 
String | 
getDefaultServerName()
get Server's default name, in case ServerManager doesn't specify
 one explcitly. 
 | 
protected String | 
getDelimiterKey()  | 
String | 
getDescriptiveName()
get Server's descriptive name. 
 | 
protected String | 
getHostAddressKey()  | 
protected String | 
getHostNameKey()  | 
protected String | 
getLastStaleSessionRemovalPeriodKey()  | 
protected String | 
getLibraryVersionKey()  | 
protected String | 
getLocalhostKey()  | 
IfsLogger | 
getLogger()
Gets the appropriate logger for this server. 
 | 
protected IfsLogger | 
getLoggerForLegacyLogging()
Gets the IfsLogger to use for legacy logging. 
 | 
boolean | 
getObfuscateIds()
get if the date and ids should be removed from listing commands. 
 | 
protected String | 
getPortKey()  | 
protected String | 
getSessionStateTimeoutKey()  | 
protected String | 
getSessionTimeoutKey()  | 
protected String | 
getStaleSessionRemovalPeriodKey()  | 
void | 
initialize()
Initializes this Server. 
 | 
boolean | 
isPropertyReadonly(String name)
Gets whether the specified dynamic property is readonly. 
 | 
static void | 
main(String[] args)
This is used to run the CupServer in the standalone mode. 
 | 
protected void | 
registerCommands(LibrarySession session)
Register the Commands that this Server invokes. 
 | 
protected void | 
registerSpecificCommand(String key,
                       String cmd,
                       LibrarySession session)  | 
protected void | 
useInitializationSession(LibrarySession session)
Initialize variables 
 | 
addNewProtocolSession, clearDerivedProperties, closeSocketServer, dispose, establishServerSocket, getAnonymousAllowed, getAnonymousSession, getAnonymousUserName, getBindAddress, getCommandInvoker, getControlPort, getDateFormatProperty, getDelimiterProperty, getHostname, getLocale, getProtocolSession, getResourceString, getResourceString, getServerSocket, getSessionTimeoutPeriodProperty, handlePropertyChangeRequest, handlePropertyChangeRequest, handleStopRequest, postAcceptLoop, postRun, preAcceptLoop, preRun, registerCommand, registerCommand, registerCommand, releaseAnonymousSession, removeChannel, removeProtocolSession, run, shouldHandlePropertyRequest, shutdown, supportsPriority, supportsSuspendResumecheckSession, connectSession, constructSession, convertTimerInterval, convertTimerInterval, convertTimerInterval, getLastTimerActivation, getNextTimerActivation, getService, getTimerActivationPeriod, getTimerClassName, getTimerConfiguration, handlePriorityChangeRequest, handlePropertyChangeRequest, handleRequest, handleRequests, handleResumeRequest, handleServerStateControllerRequest, handleSuspendRequest, handleTimerExpired, isNonCompeting, isServiceAvailable, isTimerActive, isTokenNonCompeting, postCheckServerStateRequest, postRequest, processEvent, processEvents, queueEvent, resetTimer, restart, resume, serviceAvailabilityCheckNeeded, setPriority, setProperty, setProperty, start, startTimer, stop, stopRequested, stopTimer, suspend, timerExpired, waitForServiceAvailability, waitServeracquireSession, constructLibrarySessionPool, createServerState, deregister, disconnectSession, getConfigurationOverridesTable, getConfigurationTable, getCredential, getDesiredStatus, getIfsHome, getInitialConfigurationTable, getName, getNode, getNodeName, getOracleHome, getParameterTable, getPriority, getProperties, getProperty, getServerConfigurationName, getServerState, getServerStateValue, getServerType, getServiceName, getSession, getStateTable, getStatus, getSystemUserCredential, handleServerConfigurationOverrideRequest, handleServerStateEvent, initialize, initialize, isAgent, isDisposed, isInitialized, isLogged, log, log, log, releaseSession, releaseSession, setDesiredStatus, setDesiredStatus, setSessionTimeoutPrevented, setStateProperty, setStatus, startStandalone, startStandalone, toStatusLabel, toStatusLabel, toStatusLabel, verifyNotDisposed, verifyNotDisposedpublic static final String OBFUSCATE_IDS
public static final String CUP_NAME
public static final String CUP_DESCRIPTIVE_NAME
public static final String CUP_STATUS
public static final int DEFAULT_PORT
protected boolean m_ObfuscateIds
public IfsLogger getLogger()
Typically overridden by subclasses to return the IfsLogger associatged with the specific server.
public String getDefaultServerName() throws IfsException
IfsExceptionpublic String getDescriptiveName() throws IfsException
getDescriptiveName in class IfsProtocolServerIfsExceptionpublic int getDefaultPort()
                   throws IfsException
getDefaultPort in class IfsProtocolServerIfsExceptionpublic boolean getObfuscateIds()
                        throws IfsException
IfsExceptionprotected IfsServerChannel constructChannel(Socket socket, int channelKey, String threadName) throws Exception
constructChannel in class IfsProtocolServerIfsException - if the operation failsExceptionprotected String getPortKey()
getPortKey in class IfsProtocolServerprotected String getDelimiterKey()
getDelimiterKey in class IfsProtocolServerprotected String getDateFormatKey()
getDateFormatKey in class IfsProtocolServerprotected String getAnonymousAllowedKey()
getAnonymousAllowedKey in class IfsProtocolServerprotected String getLibraryVersionKey()
getLibraryVersionKey in class IfsProtocolServerprotected String getAnonymousPoolSizeKey()
getAnonymousPoolSizeKey in class IfsProtocolServerprotected String getSessionTimeoutKey()
getSessionTimeoutKey in class IfsProtocolServerprotected String getSessionStateTimeoutKey()
getSessionStateTimeoutKey in class IfsProtocolServerprotected String getStaleSessionRemovalPeriodKey()
getStaleSessionRemovalPeriodKey in class IfsProtocolServerprotected String getAcceptQueueSizeKey()
getAcceptQueueSizeKey in class IfsProtocolServerprotected String getLocalhostKey()
getLocalhostKey in class IfsProtocolServerprotected String getLastStaleSessionRemovalPeriodKey()
getLastStaleSessionRemovalPeriodKey in class IfsProtocolServerprotected String getHostNameKey()
getHostNameKey in class IfsProtocolServerprotected String getHostAddressKey()
getHostAddressKey in class IfsProtocolServerprotected String getAnonymousPoolsizeKey()
getAnonymousPoolsizeKey in class IfsProtocolServerpublic void initialize()
                throws Exception
This method is called when the Server is first loaded.
If this method throws an exception, loading of the Server is aborted.
initialize in class IfsProtocolServerException - if the operation failspublic boolean isPropertyReadonly(String name) throws IfsException
IfsServer
 Readonly properties cannot be set using setProperty.
isPropertyReadonly in interface ServerInterfaceisPropertyReadonly in class IfsProtocolServername - the property namesetPropertyIfsException - (IFS-45176) if the operation failsprotected void useInitializationSession(LibrarySession session) throws Exception
useInitializationSession in class IfsProtocolServerExceptionprotected void registerCommands(LibrarySession session) throws IfsException
registerCommands in class IfsProtocolServerIfsException - if the operation failsprotected void registerSpecificCommand(String key, String cmd, LibrarySession session) throws IfsException
IfsExceptionprotected IfsLogger getLoggerForLegacyLogging()
getLoggerForLegacyLogging in class ServerCopyright © 2025. All rights reserved.