|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CSServerService
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.btt.event.Notifier |
---|
getName, setName, signalEvent, signalEvent, terminate |
Field Detail |
---|
static final java.lang.String CS_INACTIVITY_CLIENT_EVENT
static final java.lang.String CS_SESSION_EXPIRED
Method Detail |
---|
void addCSInactivityClientListener(CSInactivityClientListener newListener)
newListener
- com.ibm.btt.clientserver.CSInactivityClientListenervoid addCSNotificationListener(CSNotificationListener newListener)
newListener
- com.ibm.btt.clientserver.CSNotificationListenervoid addCSProcessorInactivityListener(CSProcessorInactivityListener newListener)
newListener
- com.ibm.btt.cs.servlet.CSProcessorInactivityListenervoid addCSReplyErrorEventListener(CSReplyErrorEventListener newListener)
newListener
- com.ibm.btt.cs.servlet.CSReplyErrorEventListenervoid checkExpiredSessions() throws DSEInvalidRequestException, DSEObjectNotFoundException
DSEInvalidRequestException
DSEObjectNotFoundException
void fireAndSignalCSInactivityClientEvent(CSInactivityClientEvent anEvent, java.lang.String eventName)
event
- com.ibm.btt.cs.servlet.CSInactivityClientEventvoid fireAndSignalCSProcessorInactivityEvent(CSProcessorInactivityEvent anEvent, java.lang.String eventName)
event
- com.ibm.btt.cs.servlet.CSProcessorInactivityEventvoid fireHandleCSInactivityClientEvent(CSInactivityClientEvent event)
event
- com.ibm.btt.cs.servlet.CSInactivityClientEventvoid fireHandleCSNotificationEvent(CSNotificationEvent event)
event
- com.ibm.btt.clientserver.CSNotificationEventvoid fireHandleCSProcessorInactivityEvent(CSProcessorInactivityEvent event)
event
- com.ibm.btt.cs.servlet.CSProcessorInactivityEventlong getAppSessionTimeout()
long getInactivityClientTimeout()
long getMinTimeStamp()
int getServerStatus()
java.util.Hashtable getSynchronizedEvents()
long getTimeBetweenSessionCheck()
void initiateServer() throws DSECSServerNotStartedException, DSECSInvalidRequestException
DSECSServerNotStartedException
DSECSInvalidRequestException
boolean isSessionAffinity()
boolean isSessionPersistence()
void removeCSInactivityClientListener(CSInactivityClientListener newListener)
newListener
- com.ibm.btt.clientserver.servlet.CSInactivityClientListenervoid removeCSNotificationListener(CSNotificationListener newListener)
newListener
- com.ibm.btt.clientserver.CSNotificationListenervoid removeCSProcessorInactivityListener(CSProcessorInactivityListener newListener)
newListener
- com.ibm.btt.cs.servlet.CSProcessorInactivityListenervoid sendEvent(java.lang.String ws, java.util.EventObject anEvent)
wk
- java.lang.StringanEvent
- Eventvoid sendEvent(java.lang.String ws, java.util.EventObject anEvent, boolean waitForDelivery) throws DSECSSocketException
wk
- java.lang.StringanEvent
- EventwaitForDelivery
- boolean
DSECSSocketException
void setAppSessionTimeout(long appSessionTimeout)
appSessionTimeout
- - The appSessionTimeout to setvoid setInactivityClientTimeout(long value)
value
- long - The new value of the propertyvoid setMinTimeStamp(long value)
value
- long - The new value of the propertyvoid setOutputTimeout(long aOutputTimeout)
aOutputTimeout
- longvoid setPersistTimeout(long aPersistTimeout)
aPersistTimeout
- longvoid setTimeBetweenSessionCheck(long value)
value
- long - The new value of the property.void stopServer() throws DSECSInvalidRequestException
DSECSInvalidRequestException
boolean getPermanentConnectionForEvents()
void setPermanentConnectionForEvents(boolean permanent)
permanent
- booleanvoid 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 WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |