public class TpltEvwCtxtProv extends EvwSrvcBase implements SrvcProv, ClientState
This is a template for EventWeb client context service providers.
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
DEP_LIST
Class dependencies
|
static java.lang.String[] |
rsrcList
Supported resource requests
|
static java.lang.String[] |
tagList
Supported request tags
|
static java.lang.String |
VERSION
Class version
|
debugging, log, registry, tracingIo
IF_VERSION
IF_VERSION
IF_VERSION
Constructor and Description |
---|
TpltEvwCtxtProv() |
Modifier and Type | Method and Description |
---|---|
int |
dispatchRqst(TvList msgRec,
SrvrChan chnl,
java.lang.String[] srvrCmd)
Dispatch channel request.
|
java.util.List |
getSupportedMedia()
Get the MIME types supported by the service.
|
java.util.List |
getSupportedTags()
Get the tags supported by the service.
|
java.util.List |
getSupportedValues(java.lang.String tag)
Get the values that are valid for a tag.
|
void |
handleDisconnect(SrvrChan client) |
void |
init(SrvcRegistry registry,
java.lang.String params)
Initialize the provider
|
int |
suggestActivityTimeout()
Suggest an activity timeout for the service.
|
isDebugging, isTracingIo, setDebugging, setTracingIo
public static final java.lang.String VERSION
public static final java.lang.String[] DEP_LIST
public static final java.lang.String[] tagList
public static final java.lang.String[] rsrcList
public void init(SrvcRegistry registry, java.lang.String params)
init
in interface RegInit
init
in class EvwSrvcBase
registry
- The service registryparams
- Initialization parameterspublic java.util.List getSupportedTags()
getSupportedTags
in interface SelfDescribing
public java.util.List getSupportedValues(java.lang.String tag)
getSupportedValues
in interface SelfDescribing
tag
- The tag to get values for.public java.util.List getSupportedMedia()
getSupportedMedia
in interface SelfDescribing
MimeType
public int suggestActivityTimeout()
suggestActivityTimeout
in interface SelfDescribing
public int dispatchRqst(TvList msgRec, SrvrChan chnl, java.lang.String[] srvrCmd)
dispatchRqst
in interface SrvcProv
public void handleDisconnect(SrvrChan client)
handleDisconnect
in interface SrvcProv