|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscone.accesstracking.EventDecoder
public class EventDecoder
The methods of this class are called by AppletConnector. Every message of the applet has its own method to evaluate the received information and to create and change Access events.
Field Summary | |
---|---|
static int |
BACK
|
static int |
BOOKMARK
|
static int |
BROWSER_GECKO
|
static int |
BROWSER_IE
|
static int |
BROWSER_NS
|
static int |
FORMSUBMIT
|
static int |
FRAGMENT
|
static int |
HEURISTIC
|
static int |
LINK
|
static int |
NEWURL
|
static int |
NEWWINDOW
|
static int |
NEXT
|
static int |
RELOAD
|
static int |
SELFLINK
|
static int |
SKIPPED
|
Constructor Summary | |
---|---|
EventDecoder()
|
Method Summary | |
---|---|
void |
formSubmited(long appletStartTime,
java.lang.String userId,
java.lang.String nodeId,
long startTime,
java.lang.String frameName,
long formTime,
java.lang.String formAction)
This Method is invoked by Transceiver every time the User submits a form in a browser window. |
void |
linkClicked(long appletStartTime,
java.lang.String userId,
java.lang.String nodeId,
long startTime,
java.lang.String frameName,
int frameCount,
java.lang.String megTime,
long linkTime,
java.lang.String linkId)
This Method is invoked by Transceiver every time the User clicked a link in a browser window. |
void |
logMessage(java.lang.String className,
java.lang.String method,
java.lang.String param)
This Method is invoked by Transceiver every time a specific user-action shall be logged. |
void |
pageUnloaded(long appletStartTime,
java.lang.String userId,
java.lang.String nodeId,
long startTime,
java.lang.String frameName,
long stoppedTime)
If the user leaves a page, the applet sends a message containing stopp time and all key values to get the right access event and store the calculated stay time. |
void |
printMsg(java.lang.String textMsg)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LINK
public static final int FRAGMENT
public static final int SELFLINK
public static final int FORMSUBMIT
public static final int RELOAD
public static final int BACK
public static final int NEXT
public static final int SKIPPED
public static final int NEWWINDOW
public static final int BOOKMARK
public static final int NEWURL
public static final int BROWSER_NS
public static final int BROWSER_IE
public static final int BROWSER_GECKO
public static final int HEURISTIC
Constructor Detail |
---|
public EventDecoder()
Method Detail |
---|
public void pageUnloaded(long appletStartTime, java.lang.String userId, java.lang.String nodeId, long startTime, java.lang.String frameName, long stoppedTime)
appletStartTime
- userId
- nodeId
- startTime
- frameName
- stoppedTime
- The time the page was unloadedpublic void linkClicked(long appletStartTime, java.lang.String userId, java.lang.String nodeId, long startTime, java.lang.String frameName, int frameCount, java.lang.String megTime, long linkTime, java.lang.String linkId)
appletStartTime
- userId
- nodeId
- startTime
- frameName
- frameCount
- Number of frames in frame setmegTime
- Time of javascript creationlinkTime
- The time the link was clickedlinkId
- accessEventExistedString
- If page comes from cache, a new start time had to be used.browserName
- Number describing the browserpublic void formSubmited(long appletStartTime, java.lang.String userId, java.lang.String nodeId, long startTime, java.lang.String frameName, long formTime, java.lang.String formAction)
appletStartTime
- userId
- nodeId
- startTime
- frameName
- formTime
- The time the formsubmit button was clickedformAction
- The Action called by the formaccessEventExistedString
- If page comes from cache, a new start time had to be used.browserName
- Number describing the browserpublic void logMessage(java.lang.String className, java.lang.String method, java.lang.String param)
This message is then reported to the class and the (static) method defined in the transmitted parameters.
Use the following JavaScript-Command to send a message:
document.LogApplet.logMsg("logMessage\nclassName=PACKAGE.CLASSNAME\nmethod=STATIC_METHOD\nparameter=PARAMETER_TO_BE_SENT\n");
where the strings in CAPITALS have to be replaced by the class, method and parameter you want...
className
- Name of the class that shall be informedmethod
- Name of the (static) method that shall be informed.param
- The parameter/ message to be sent.public void printMsg(java.lang.String textMsg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |