|
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 |
fireAndSignalCSInactivityClientEvent(CSInactivityClientEvent 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. |
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 |
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.btt.event.Notifier |
---|
getName, 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.btt.event.CSInactivityClientListenerpublic void addCSNotificationListener(CSNotificationListener newListener)
newListener
- com.ibm.btt.event.CSNotificationListenerpublic void fireAndSignalCSInactivityClientEvent(CSInactivityClientEvent anEvent, java.lang.String eventName)
anEvent
- com.ibm.dse.btt.event.CSInactivityClientEventeventName
- java.lang.Stringpublic void fireHandleCSInactivityClientEvent(CSInactivityClientEvent event)
event
- com.ibm.dse..btt.event.CSInactivityClientEventpublic void fireHandleCSNotificationEvent(CSNotificationEvent event)
event
- com.ibm.btt.event.CSNotificationEventpublic 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.btt.event.CSNotificationListenerpublic void sendEvent(java.lang.String ws, java.util.EventObject anEvent)
ws
- java.lang.StringanEvent
- java.util.EventObjectpublic void sendEvent(java.lang.String ws, java.util.EventObject anEvent, boolean waitForDelivery) throws DSECSSocketException
ws
- java.lang.StringanEvent
- java.util.EventObjectwaitForDelivery
- boolean
DSECSSocketException
public void setAppSessionTimeout(long appSessionTimeout)
appSessionTimeout
- long - 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
- java.util.EventObjectwaitForDelivery
- boolean
DSECSSocketException
- - Error sending the event to the listener
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |