org.opengts.db
Class DCServerConfig.EventCode

java.lang.Object
  extended by org.opengts.db.DCServerConfig.EventCode
Enclosing class:
DCServerConfig

public static class DCServerConfig.EventCode
extends java.lang.Object

Device event code to status code translation


Constructor Summary
DCServerConfig.EventCode(int oldCode, int statusCode, java.lang.String data)
           
 
Method Summary
 int getCode()
           
 long getDataLong(long dft)
           
 java.lang.String getDataString(java.lang.String dft)
           
 int getStatusCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DCServerConfig.EventCode

public DCServerConfig.EventCode(int oldCode,
                                int statusCode,
                                java.lang.String data)
Method Detail

getCode

public int getCode()

getStatusCode

public int getStatusCode()

getDataString

public java.lang.String getDataString(java.lang.String dft)

getDataLong

public long getDataLong(long dft)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object