public class RequestHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private NetPuzlClientProxy |
proxy
The proxy associated with this client's proxy.
|
private Tag |
tag
A tag that is generated and then handled.
|
Constructor and Description |
---|
RequestHandler(NetPuzlClientProxy proxy,
Tag tag)
A constructor for a new RequestHandler object.
|
Modifier and Type | Method and Description |
---|---|
void |
cmd()
This method builds and sends tags.
|
void |
login()
This method is used to login-in.
|
void |
logout()
This method is used to log out.
|
private void |
noKeys()
What a Matrix says when one if its Agents tries to interact with a Key
|
void |
run()
This is the actual functionality of the request handler this is where all
the action happens.
|
void |
sendHearTagToProxy(NetPuzlClientProxy proxy,
ObjID from,
ObjID to,
java.lang.String message)
This method is used to send a hear tag to the proxy.
|
void |
xRequest()
This method is used for sending an xrequest.
|
private Tag tag
private NetPuzlClientProxy proxy
public RequestHandler(NetPuzlClientProxy proxy, Tag tag)
proxy
- The proxy that is associated with this request handler.tag
- The tag variable in the request handler.public void cmd()
private void noKeys()
public void login()
public void logout()
public void run()
public void sendHearTagToProxy(NetPuzlClientProxy proxy, ObjID from, ObjID to, java.lang.String message)
proxy
- The proxy to send the tag to.from
- This is who it is coming from.to
- Who the tag is going to.message
- What information is being communicated.public void xRequest()