src.server
Class ServerQuery
java.lang.Object
src.server.Package
src.server.QueryPackage
src.server.ServerQuery
- public class ServerQuery
- extends QueryPackage
Describes a query that is to be processed by the Server directly. I.e.
not by a module. The queries can for instance be to register an user
for specific alerts.
- Version:
- 2005-apr-20
|
Constructor Summary |
ServerQuery(RecipientTag recipient,
java.util.HashMap queryParameters,
int opCode)
Creates a ServerQuery. |
|
Method Summary |
int |
getOpCode()
Gets the opCode for the query. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
ALERT_DEREG
public static final int ALERT_DEREG
- See Also:
- Constant Field Values
ALERT_REG
public static final int ALERT_REG
- See Also:
- Constant Field Values
USER_DEREG
public static final int USER_DEREG
- See Also:
- Constant Field Values
USER_REG
public static final int USER_REG
- See Also:
- Constant Field Values
ALERT_LIST
public static final int ALERT_LIST
- See Also:
- Constant Field Values
HELP
public static final int HELP
- See Also:
- Constant Field Values
SET_SETTING
public static final int SET_SETTING
- See Also:
- Constant Field Values
ServerQuery
public ServerQuery(RecipientTag recipient,
java.util.HashMap queryParameters,
int opCode)
- Creates a ServerQuery.
- Parameters:
recipient - The tag detailing the owner of the package.opCode - The opCode of the query.
getOpCode
public int getOpCode()
- Gets the opCode for the query. The opCode's value is defined by
the class and the operation can therefor be matched to e.g.
ALERT_REG.
- Returns:
- The operation code.
toString
public java.lang.String toString()
- Overrides:
toString in class QueryPackage