|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionIF
Nested Class Summary | |
---|---|
static class |
ConnectionIF.Session
|
Field Summary | |
---|---|
static java.lang.String |
PARAM_CLIENTCRED
|
static java.lang.String |
PARAM_CLIENTID
|
static java.lang.String |
PARAM_PASSWORD
|
static java.lang.String |
PARAM_TOKEN
|
static java.lang.String |
PARAM_USER
|
static java.lang.String |
PROP_COOKIE_NAME
|
static java.lang.String |
PROP_URI_CLIENTS
|
static java.lang.String |
PROP_URI_CONTEXTS
|
static java.lang.String |
PROP_URI_LOGIN
|
static java.lang.String |
PROP_URI_LOGOUT
|
static java.lang.String |
RESOURCE_SESSION
|
Method Summary | |
---|---|
void |
close()
Close the connection to the Server. |
Output |
execute(Opcode opcode,
Input input)
Execute the operation (Opcode) on the Server. |
java.lang.String |
getContextId()
Get the "current" Context Id. |
java.lang.String[] |
getContextIds()
Get all of the available Context Ids. |
java.lang.String |
getSessionData(ConnectionIF.Session session)
Get the String representing a Session data item. |
boolean |
hasSessionChanged()
Has the Session changed from the initial connection. |
boolean |
isDebug()
Get the debug flag. |
void |
setContextId(java.lang.String contextId)
Set the "current" Context Id. |
void |
setDebug(boolean debug)
Set the debug flag. |
Methods inherited from interface org.openptk.api.ElementIF |
---|
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, copy, getAttribute, getAttributeNames, getAttributes, getAttributesSize, getDescription, getKey, getProperties, getPropertiesSize, getProperty, getState, getStateAsString, getStatus, getUniqueId, getUniqueIdType, isError, removeAttribute, removeProperty, setAttributes, setDescription, setError, setKey, setProperties, setProperty, setState, setStatus, setUniqueId, setUniqueId, setUniqueId, setUniqueId |
Field Detail |
---|
static final java.lang.String PARAM_CLIENTCRED
static final java.lang.String PARAM_CLIENTID
static final java.lang.String PARAM_PASSWORD
static final java.lang.String PARAM_TOKEN
static final java.lang.String PARAM_USER
static final java.lang.String PROP_COOKIE_NAME
static final java.lang.String PROP_URI_CLIENTS
static final java.lang.String PROP_URI_CONTEXTS
static final java.lang.String PROP_URI_LOGIN
static final java.lang.String PROP_URI_LOGOUT
static final java.lang.String RESOURCE_SESSION
Method Detail |
---|
void close() throws ConnectionException
java.lang.Exception
ConnectionException
Output execute(Opcode opcode, Input input) throws ConnectionException
opcode
- Opcode what operation to executeinput
- Input data used by the operation
java.lang.Exception
ConnectionException
java.lang.String getContextId()
java.lang.String[] getContextIds()
java.lang.String getSessionData(ConnectionIF.Session session) throws ConnectionException
ConnectionException
boolean hasSessionChanged()
boolean isDebug()
void setContextId(java.lang.String contextId) throws ConnectionException
contextId
- a valid Context Id
java.lang.Exception
ConnectionException
void setDebug(boolean debug)
debug
- should debug data be displayed.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |