|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CSServerService interface is the C/S service interface on the server side
Field Summary | |
static java.lang.String |
CS_INACTIVITY_CLIENT_EVENT
|
static java.lang.String |
CS_SESSION_EXPIRED
|
Method Summary | |
void |
addCSInactivityClientListener(CSInactivityClientListener newListener)
Adds the specified CSInactivityClientListener to recieve CSInactivityClientEvents from this interface. |
void |
addCSNotificationListener(CSNotificationListener newListener)
Adds the specified CSNotificationListener to recieve CSNotificationEvents from this interface. |
long |
getInactivityClientTimeout()
Returns the value of the inactivityClientTimeout property. |
int |
getServerStatus()
Gets the CSServer status. |
long |
getTimeBetweenSessionCheck()
Returns the value of the timeBetweenSessionCheck property. |
void |
initiateServer()
Initiates the server. |
void |
removeCSInactivityClientListener(CSInactivityClientListener newListener)
Removes the specified CSInactivityClientListener so that it no longer receives CSInactivityClientEvents from this interfice. |
void |
removeCSNotificationListener(CSNotificationListener newListener)
Removes the specified CSNotificationListener so that it no longer receives CSNotificationEvents from this interfice. |
void |
sendEvent(java.lang.String ws,
java.util.EventObject anEvent)
Sends an event from the server to the specified client workstation. |
void |
setInactivityClientTimeout(long value)
Sets the value of the inactivityClientTimeout property. |
void |
setTimeBetweenSessionCheck(long value)
Sets the value of the timeBetweenSessionCheck property. |
void |
stopServer()
Stops the server. |
Methods inherited from interface com.ibm.dse.base.Notifier |
addHandler,
getHandlersList,
getName,
removeHandler,
setName,
signalEvent,
signalEvent,
terminate |
Field Detail |
public static final java.lang.String CS_INACTIVITY_CLIENT_EVENT
public static final java.lang.String CS_SESSION_EXPIRED
Method Detail |
public void addCSInactivityClientListener(CSInactivityClientListener newListener)
newListener
- com.ibm.dse.clientserver.CSInactivityClientListenerpublic void addCSNotificationListener(CSNotificationListener newListener)
newListener
- com.ibm.dse.clientserver.CSNotificationListenerpublic long getInactivityClientTimeout()
public int getServerStatus()
public long getTimeBetweenSessionCheck()
public void initiateServer() throws DSECSServerNotStartedException, DSECSInvalidRequestException
public void removeCSInactivityClientListener(CSInactivityClientListener newListener)
newListener
- com.ibm.dse.clientserver.servlet.CSInactivityClientListenerpublic void removeCSNotificationListener(CSNotificationListener newListener)
newListener
- com.ibm.dse.clientserver.CSNotificationListenerpublic void sendEvent(java.lang.String ws, java.util.EventObject anEvent)
wk
- java.lang.StringanEvent
- Eventpublic void setInactivityClientTimeout(long value)
value
- long The new value of the property.public void setTimeBetweenSessionCheck(long value)
value
- long The new value of the property.public void stopServer() throws DSECSInvalidRequestException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |