netGameManager
Class RequestMessage

java.lang.Object
  extended by netGameManager.RequestMessage

public class RequestMessage
extends java.lang.Object

This class contains the basic attributes for a message that is executed in several steps in the GameServer. The field REQUEST came from some (GameClient) and the GameServer will try to answer the request. The answer text is stored in the field RESPONSE and the field OK says if the request was or not attended.

Version:
0.5 beta - 03/15/2006
Author:
Luciano Antonio Digiampietri
See Also:
GameClient, GameServer

Field Summary
 int GID
           
 java.lang.String GN
           
 java.lang.String GT
           
 boolean OK
           
 int PLAYER
           
 java.lang.String REQUEST
           
 AddressPort REQUESTER_ADDRESS
           
 java.lang.String RT
           
 java.lang.String SENSE
           
 int X
           
 int X2
           
 int Y
           
 int Y2
           
 
Constructor Summary
RequestMessage(java.lang.String request, AddressPort address)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK

public boolean OK

RT

public java.lang.String RT

GT

public java.lang.String GT

GN

public java.lang.String GN

GID

public int GID

PLAYER

public int PLAYER

SENSE

public java.lang.String SENSE

X

public int X

Y

public int Y

X2

public int X2

Y2

public int Y2

REQUEST

public java.lang.String REQUEST

REQUESTER_ADDRESS

public AddressPort REQUESTER_ADDRESS
Constructor Detail

RequestMessage

public RequestMessage(java.lang.String request,
                      AddressPort address)