public abstract class AbstractEvwSrvcConn extends eventweb.servutil.EvwSrvcBase implements SrvcConn, EvwCtrlHandler, TraceableIo
This is the base class for EventWeb service connectors.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
DEP_LIST
Class dependencies
|
protected int |
instanceNumber |
protected java.lang.String |
srvcName |
protected static java.lang.String |
TAG_DISCONNECT |
protected static java.lang.String |
TAG_RQST_CTRL |
protected static java.lang.String |
TAG_RQST_RSRC |
protected static java.lang.String |
TAG_SRVC_INFO |
protected static java.lang.String |
TAG_TIMESTAMP |
protected static java.lang.String |
VALUE_CONNECT |
static java.lang.String |
VERSION
Class version
|
IF_VERSIONIF_VERSIONIF_VERSIONIF_VERSION| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEvwSrvcConn()
Create a new service.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
createChannel(SesnKey srvSesKey,
SrvcInfo sInfo,
int bcConnectTmo,
int activityTmo) |
void |
processCtrlRqst(TvList rqst,
TvOutput chan,
java.lang.Object rqstSource)
Process a service control request.
|
abstract void |
quiesce()
Stop accepting new requests and release resources
|
protected int |
startChannel(SesnKey srvSesKey,
SrvcInfo sInfo) |
init, isDebugging, isTracingIo, setDebugging, setTracingIoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisTracingIo, setTracingIopublic static final java.lang.String VERSION
public static final java.lang.String[] DEP_LIST
protected static final java.lang.String TAG_RQST_CTRL
protected static final java.lang.String TAG_RQST_RSRC
protected static final java.lang.String TAG_SRVC_INFO
protected static final java.lang.String TAG_TIMESTAMP
protected static final java.lang.String TAG_DISCONNECT
protected static final java.lang.String VALUE_CONNECT
protected java.lang.String srvcName
protected int instanceNumber
public void processCtrlRqst(TvList rqst, TvOutput chan, java.lang.Object rqstSource)
processCtrlRqst in interface EvwCtrlHandlerrqst - Tag-value list containing control requestschan - Backchannel to control clientrqstSource - Reference to the source of the requestpublic abstract void quiesce()
protected int createChannel(SesnKey srvSesKey, SrvcInfo sInfo, int bcConnectTmo, int activityTmo)