public interface SnwGUIServicesServer
extends com.isti.trinetwatch.common.SnwGUIServices
Modifier and Type | Method and Description |
---|---|
void |
checkInactivityTimeout()
Checks to see if enough time has passed since the last client activity to
declare an inactivity timeout, and disconnect the client.
|
void |
connect(Server sObj,
java.lang.String clientID,
long inactivityTimeout)
Connect to the NSI server.
|
java.lang.String |
fixStr(java.lang.String str)
Converts the given string to one that is safe to send.
|
boolean |
getDisPendingFlag()
Returns the value of disconnect-pending flag.
|
java.lang.String |
getIDString()
Returns the ID of the client (the ip address).
|
disconnect, getAgentInfo, getAgentNames, getAllStationsSnapshot, getAllStationsUpdate, getExtendedAllStationsUpdate, getHelpString, getNSIStartTime, getNSIVersionString, getParameterCompSet, getParameterHelpString, getParameterHistory, getParameterInformation, getPropertyList, getPropValuesList, getSameStatusSubsets, getServerName, getStationChgdParams, getStationHelpString, getStationInfo, getStationSnapshot, getStationUpdate, getStatusLevelTable, getSubsetStationsList, getSubsetStationsUpdate, getUsageLevelTable, getUsageResult, getUsageTimeout, setStationUsage
void checkInactivityTimeout()
void connect(Server sObj, java.lang.String clientID, long inactivityTimeout)
sObj
- A handle to a Server object.clientID
- A string containing the client ID. It should be the
client's IP address.inactivityTimeout
- number of seconds of client inactivity before a
timeout occurs (and the client is disconnected) or 0 if none.java.lang.String fixStr(java.lang.String str)
str
- string.boolean getDisPendingFlag()
java.lang.String getIDString()