All Packages Class Hierarchy This Package Previous Next Index
Class webwisdom.tango.fake.TLAgentFake
java.lang.Object
|
+----webwisdom.tango.fake.TLAgentFake
- public class TLAgentFake
- extends Object
- implements TLAgent
This class can be used instead of TangoAgent
for browserless testing of Tango applets with FakeTangoServer.
- See Also:
- FakeTangoServer
-
TLAgentFake(String, boolean, String, int)
-
Deprecated.
-
TLAgentFake(String, int)
- Creates TLAgent which connects to TServerFake.
-
add(TLListener)
-
-
exit()
-
-
send(AppEventMessage)
-
-
send(int[], AppEventMessage)
-
-
setSessionAttributes(String, String, String[])
-
-
socketToString(Socket)
-
-
toString()
-
TLAgentFake
public TLAgentFake(String serverHost,
int serverPort) throws TangoException
- Creates TLAgent which connects to TServerFake.
- Parameters:
- serverHost,serverPort - fake tango server
- Throws: TangoException
- if cannot connect to the server
TLAgentFake
public TLAgentFake(String userName,
boolean isMaster,
String serverHost,
int serverPort)
- Note: TLAgentFake() is deprecated.
setSessionAttributes
public void setSessionAttributes(String u,
String m,
String us[])
- Parameters:
- u - this user name
- m - name of the session master
- us - names of other users in the session
exit
public void exit()
add
public void add(TLListener l)
send
public void send(int i[],
AppEventMessage m)
send
public void send(AppEventMessage m)
socketToString
public static String socketToString(Socket s)
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index