java.lang.Object | +--com.twinsoft.convertigo.engine.AbstractContext
| Field Summary | |
java.lang.String |
contextID
|
int |
contextNum
|
long |
creationTime
|
HttpServletRequest |
httpServletRequest
|
HttpSession |
httpSession
|
org.w3c.dom.Document |
inputDocument
|
boolean |
isCacheEnabled
|
long |
lastAccessTime
|
org.w3c.dom.Document |
outputDocument
|
java.lang.String |
remoteAddr
|
java.lang.String |
remoteHost
|
java.lang.String |
servletPath
|
java.util.Vector |
steps
|
java.lang.String |
tasCommDevice
|
java.lang.String |
tasDteAddress
|
java.lang.String |
tasServiceCode
|
java.lang.String |
tasSessionKey
|
java.lang.String |
tasUserGroup
|
java.lang.String |
tasUserName
|
java.lang.String |
tasUserPassword
|
java.lang.String |
tasVirtualServerName
|
java.lang.String |
userAgent
|
| Constructor Summary | |
AbstractContext()
|
|
| Method Summary | |
java.lang.Object |
get(java.lang.String key)
Gets a stored variable from the context. |
void |
set(java.lang.String key,
java.lang.Object value)
Stores a variable value into the context. |
boolean |
waitAtScreenClass(int timeout,
int hardDelay)
This method only concerns Minitel projects. |
boolean |
waitNextPage(java.lang.String action,
int timeout,
int hardDelay)
This method only concerns Minitel projects. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String contextID
public int contextNum
public long creationTime
public long lastAccessTime
public HttpServletRequest httpServletRequest
public HttpSession httpSession
public java.lang.String servletPath
public java.lang.String userAgent
public java.lang.String remoteAddr
public java.lang.String remoteHost
public boolean isCacheEnabled
public java.lang.String tasSessionKey
public java.lang.String tasUserName
public java.lang.String tasUserPassword
public java.lang.String tasUserGroup
public java.lang.String tasServiceCode
public java.lang.String tasDteAddress
public java.lang.String tasCommDevice
public java.lang.String tasVirtualServerName
public org.w3c.dom.Document inputDocument
public org.w3c.dom.Document outputDocument
public java.util.Vector steps
| Constructor Detail |
public AbstractContext()
| Method Detail |
public java.lang.Object get(java.lang.String key)
key - the requested key (i.e. the variable name).
public void set(java.lang.String key,
java.lang.Object value)
key - the variable name.value - the variable value.
public boolean waitNextPage(java.lang.String action,
int timeout,
int hardDelay)
throws com.twinsoft.convertigo.engine.EngineException
This method only concerns Minitel projects.
Waits for a new page for the same screen class or a new screen class. The method wait for one of the screens described by the screen classes in the project to arrive. We wait for all the screen classes except the current one. In the case of a next page on the same screen class, waitNextPage() will monitor the cursor position. the method will return when the cursor position returns to the same position it was before calling waitNextPage(). You can use waitNextPage() method to synchronize your handler before returning "redetect", "accumulate" or "skip".
timeout - the time (in ms) we have to wait for the screen class.hardDelay - a delay (in ms) added after the nextpage has arrived.
com.twinsoft.convertigo.engine.EngineException
public boolean waitAtScreenClass(int timeout,
int hardDelay)
throws com.twinsoft.convertigo.engine.EngineException
This method only concerns Minitel projects.
Waits for one of the screens described by the screen classes in the project to arrive. The method waits for all the screen classes except the current one. You can use waitAtScreenClass() method to synchronize your handler before returning "redetect", "accumulate" or "skip".
timeout - the time (in ms) we have to wait for the screen class.hardDelay - a delay (in ms) added after the screen class has arrived.
com.twinsoft.convertigo.engine.EngineExceptionSubmit a bug or feature
That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.