|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.db.CommandPingDispatcher
public class CommandPingDispatcher
Constructor Summary | |
---|---|
CommandPingDispatcher()
|
Method Summary | |
---|---|
boolean |
isPingSupported(Device device)
Returns true if 'ping' is supported for the specified device |
boolean |
sendDeviceCommand(Device device,
java.lang.String cmdType,
java.lang.String cmdName,
java.lang.String[] cmdArgs)
Sends a command notification to the specified Device |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandPingDispatcher()
Method Detail |
---|
public boolean isPingSupported(Device device)
isPingSupported
in interface PingDispatcher
device
- The device
public boolean sendDeviceCommand(Device device, java.lang.String cmdType, java.lang.String cmdName, java.lang.String[] cmdArgs)
sendDeviceCommand
in interface PingDispatcher
device
- The device to which the command is to be sent.cmdType
- The command typecmdName
- The command namecmdArgs
- The arguments to the command sent to the device.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |