|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscone.accesstracking.IESpyConnector
public class IESpyConnector
Every time, LogApplet connects to RAS (scone.ras.rasServer.java), RAS starts an instance of this class that lives as long as the connection of the applet. This class communicates with the Applet, decodes received messages and calls the corresponding methods of the EventDecoder class, that creates and fills the Access events.
Constructor Summary | |
---|---|
IESpyConnector()
|
Method Summary | |
---|---|
java.lang.String |
getParameter(java.lang.String inputLine,
java.lang.String paramName)
This Method gets the value of the parameter paramName from the String sent by the applet. |
void |
handle(Connection c)
RAS handler for the RAS-Connection from IESpy. |
void |
printMsg(java.lang.String textMsg)
|
void |
sendToApplet(java.lang.String command,
java.lang.String parameter1,
java.lang.String parameter2)
Sends a string back to the Applet, containing the command to be executed by the applet, an url if needed and a target if needed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IESpyConnector()
Method Detail |
---|
public void handle(Connection c)
handle
in interface ConnectionHandler
c
- The Connection object to communicate with LogAppletpublic void sendToApplet(java.lang.String command, java.lang.String parameter1, java.lang.String parameter2)
command
- The command for the Applet (BringToFront or OpenURL) (not casesensitive)url
- The url needed for OpenURL. Send an empty String for other commands.target
- The target needet for OpenURL. Send an empty String for other commands.public java.lang.String getParameter(java.lang.String inputLine, java.lang.String paramName)
paramName
- The name of the parameter
public void printMsg(java.lang.String textMsg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |