|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.util.AbstractClientPacketHandler org.opengts.db.CommandPacketHandler org.opengts.extra.servers.generic.CommandHandler
public class CommandHandler
Field Summary |
---|
Fields inherited from class org.opengts.db.CommandPacketHandler |
---|
ARG_ACCOUNT, ARG_ARG0, ARG_ARG1, ARG_ARG2, ARG_ARG3, ARG_ARG4, ARG_ARG5, ARG_ARG6, ARG_ARG7, ARG_ARG8, ARG_ARG9, ARG_CMDNAME, ARG_CMDTYPE, ARG_DEVICE, ARG_IP, ARG_LASTCONNECT, ARG_MESSAGE, ARG_PHONE, ARG_RESULT, ARG_SERVER, ARG_USER, CMD_ARGS, INTERNCMD_COMMANDS, INTERNCMD_SESSIONS, INTERNCMD_STACKTRACE |
Fields inherited from class org.opengts.util.AbstractClientPacketHandler |
---|
GMT_Timezone, PACKET_LEN_END_OF_STREAM, PACKET_LEN_LINE_TERMINATOR |
Constructor Summary | |
---|---|
CommandHandler()
|
Method Summary | |
---|---|
int |
getClientCommandPort_udp(int dftPort)
|
java.lang.String |
getServerName()
|
DCServerFactory.ResultCode |
handleCommand(Device device,
java.lang.String cmdType,
java.lang.String cmdName,
java.lang.String[] cmdArgs)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class org.opengts.db.CommandPacketHandler |
---|
EncodeCommand, getActualPacketLength, getFromEmailCommand, getFromEmailCommand, getHandlePacket, getResponsePort, getTerminateSession, RESULT, sessionStarted, sessionTerminated, setResult, setTerminateSession, terminateSession, validateAddress, validateAddresses |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandHandler()
Method Detail |
---|
public java.lang.String getServerName()
getServerName
in class CommandPacketHandler
public int getClientCommandPort_udp(int dftPort)
public DCServerFactory.ResultCode handleCommand(Device device, java.lang.String cmdType, java.lang.String cmdName, java.lang.String[] cmdArgs)
handleCommand
in class CommandPacketHandler
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |