org.opengts.servers.gtsdmtp
Class DMTPDBFactory

java.lang.Object
  extended by org.opengts.servers.gtsdmtp.DMTPDBFactory
All Implemented Interfaces:
org.opendmtp.server.base.DMTPServer.DBFactory

public class DMTPDBFactory
extends java.lang.Object
implements org.opendmtp.server.base.DMTPServer.DBFactory


Field Summary
static java.lang.String DEFAULT_UNIQUE_PREFIX
           
 
Constructor Summary
DMTPDBFactory()
           
 
Method Summary
 org.opendmtp.server.db.AccountDB getAccountDB(java.lang.String acctName)
           
 org.opendmtp.server.db.DeviceDB getDeviceDB(org.opendmtp.server.db.AccountDB acctDB, java.lang.String devName)
           
 org.opendmtp.server.db.DeviceDB getDeviceDB(byte[] uniqId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_UNIQUE_PREFIX

public static final java.lang.String DEFAULT_UNIQUE_PREFIX
See Also:
Constant Field Values
Constructor Detail

DMTPDBFactory

public DMTPDBFactory()
Method Detail

getAccountDB

public org.opendmtp.server.db.AccountDB getAccountDB(java.lang.String acctName)
Specified by:
getAccountDB in interface org.opendmtp.server.base.DMTPServer.DBFactory

getDeviceDB

public org.opendmtp.server.db.DeviceDB getDeviceDB(org.opendmtp.server.db.AccountDB acctDB,
                                                   java.lang.String devName)
Specified by:
getDeviceDB in interface org.opendmtp.server.base.DMTPServer.DBFactory

getDeviceDB

public org.opendmtp.server.db.DeviceDB getDeviceDB(byte[] uniqId)
Specified by:
getDeviceDB in interface org.opendmtp.server.base.DMTPServer.DBFactory