|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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. |
void |
addCSProcessorInactivityListener(CSProcessorInactivityListener newListener)
Insert the method's description here. |
void |
addCSReplyErrorEventListener(CSReplyErrorEventListener newListener)
Adds the specified CSReplyErrorEventListener to recieve CSReplyErrorEvents from this class. |
void |
checkExpiredSessions()
When an expired session is found, fire an event and mark the session as expired. |
void |
fireAndSignalCSInactivityClientEvent(CSInactivityClientEvent anEvent,
java.lang.String eventName)
Method to support listener events. |
void |
fireAndSignalCSProcessorInactivityEvent(CSProcessorInactivityEvent anEvent,
java.lang.String eventName)
Method to support listener events. |
void |
fireHandleCSInactivityClientEvent(CSInactivityClientEvent event)
Method to support listener events. |
void |
fireHandleCSNotificationEvent(CSNotificationEvent event)
Supports listener events. |
void |
fireHandleCSProcessorInactivityEvent(CSProcessorInactivityEvent event)
Method to support listener events. |
long |
getAppSessionTimeout()
Gets the appSessionTimeout |
long |
getInactivityClientTimeout()
Returns the value of the inactivityClientTimeout property. |
long |
getMinTimeStamp()
Returns the value of the minTimeStamp property. |
boolean |
getPermanentConnectionForEvents()
Gets the permanentConnectionForEvents value. |
int |
getServerStatus()
Gets the CSServer status. |
java.util.Hashtable |
getSynchronizedEvents()
Returns information about clients who are waiting for events. |
long |
getTimeBetweenSessionCheck()
Returns the value of the timeBetweenSessionCheck property. |
void |
initiateServer()
Initiates the server. |
boolean |
isSessionAffinity()
Returns the value of the attribute sessionAffinity. |
boolean |
isSessionPersistence()
Returns the value of the attribute sessionPersistence. |
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 |
removeCSProcessorInactivityListener(CSProcessorInactivityListener newListener)
Insert the method's description here. |
void |
sendEvent(java.lang.String ws,
java.util.EventObject anEvent)
Sends an event from the server to the specified client workstation. |
void |
sendEvent(java.lang.String ws,
java.util.EventObject anEvent,
boolean waitForDelivery)
Sends an event from the server to the specified client workstation. |
void |
sendEvent(java.lang.String ipAddress,
int port,
java.util.EventObject anEvent,
boolean waitForDelivery)
Sends an event from the server to the specified ipAddress and port. |
void |
setAppSessionTimeout(long appSessionTimeout)
Sets the appSessionTimeout |
void |
setInactivityClientTimeout(long value)
Sets the value of the inactivityClientTimeout property. |
void |
setMinTimeStamp(long value)
Sets the value of the minTimeStamp property. |
void |
setOutputTimeout(long aOutputTimeout)
Sets the outputTimeout property (long) value. |
void |
setPermanentConnectionForEvents(boolean permanent)
Sets the permanentConnectionForEvents value. |
void |
setPersistTimeout(long aPersistTimeout)
Sets the persistTimeout property (long) value. |
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 void addCSProcessorInactivityListener(CSProcessorInactivityListener newListener)
newListener
- com.ibm.dse.cs.servlet.CSProcessorInactivityListenerpublic void addCSReplyErrorEventListener(CSReplyErrorEventListener newListener)
newListener
- com.ibm.dse.cs.servlet.CSReplyErrorEventListenerpublic void checkExpiredSessions() throws DSEInvalidRequestException, DSEObjectNotFoundException
DSEInvalidRequestException
DSEObjectNotFoundException
public void fireAndSignalCSInactivityClientEvent(CSInactivityClientEvent anEvent, java.lang.String eventName)
public void fireAndSignalCSProcessorInactivityEvent(CSProcessorInactivityEvent anEvent, java.lang.String eventName)
public void fireHandleCSInactivityClientEvent(CSInactivityClientEvent event)
event
- com.ibm.dse.cs.servlet.CSInactivityClientEventpublic void fireHandleCSNotificationEvent(CSNotificationEvent event)
event
- com.ibm.dse.clientserver.CSNotificationEventpublic void fireHandleCSProcessorInactivityEvent(CSProcessorInactivityEvent event)
event
- com.ibm.dse.cs.servlet.CSProcessorInactivityEventpublic long getAppSessionTimeout()
public long getInactivityClientTimeout()
public long getMinTimeStamp()
public int getServerStatus()
public java.util.Hashtable getSynchronizedEvents()
public long getTimeBetweenSessionCheck()
public void initiateServer() throws DSECSServerNotStartedException, DSECSInvalidRequestException
DSECSServerNotStartedException
DSECSInvalidRequestException
public boolean isSessionAffinity()
public boolean isSessionPersistence()
public void removeCSInactivityClientListener(CSInactivityClientListener newListener)
newListener
- com.ibm.dse.clientserver.servlet.CSInactivityClientListenerpublic void removeCSNotificationListener(CSNotificationListener newListener)
newListener
- com.ibm.dse.clientserver.CSNotificationListenerpublic void removeCSProcessorInactivityListener(CSProcessorInactivityListener newListener)
newListener
- com.ibm.dse.cs.servlet.CSProcessorInactivityListenerpublic void sendEvent(java.lang.String ws, java.util.EventObject anEvent)
anEvent
- Eventpublic void sendEvent(java.lang.String ws, java.util.EventObject anEvent, boolean waitForDelivery) throws DSECSSocketException
anEvent
- EventwaitForDelivery
- boolean
DSECSSocketException
public void setAppSessionTimeout(long appSessionTimeout)
appSessionTimeout
- - The appSessionTimeout to setpublic void setInactivityClientTimeout(long value)
value
- long - The new value of the propertypublic void setMinTimeStamp(long value)
value
- long - The new value of the propertypublic void setOutputTimeout(long aOutputTimeout)
aOutputTimeout
- longpublic void setPersistTimeout(long aPersistTimeout)
aPersistTimeout
- longpublic void setTimeBetweenSessionCheck(long value)
value
- long - The new value of the property.public void stopServer() throws DSECSInvalidRequestException
DSECSInvalidRequestException
public boolean getPermanentConnectionForEvents()
public void setPermanentConnectionForEvents(boolean permanent)
permanent
- booleanpublic void sendEvent(java.lang.String ipAddress, int port, java.util.EventObject anEvent, boolean waitForDelivery) throws DSECSSocketException
ipAddress
- java.lang.Stringport
- intanEvent
- EventObjectwaitForDelivery
- boolean
DSEException
- - Error sending the event to the listener
DSECSSocketException
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |