com.sybase.uep.bobclient.data
Class RIMDevice

java.lang.Object
  extended by com.sybase.uep.bobclient.sync.Device
      extended by com.sybase.uep.bobclient.data.RIMDevice

public class RIMDevice
extends Device


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sybase.uep.bobclient.sync.Device
Device.UnknownDevice
 
Field Summary
static int DEFAULT_PIN
           
static long HIGH_HASH
           
 
Constructor Summary
RIMDevice()
           
 
Method Summary
 Repository createRepository()
          Creates a repository object appropriate to the device.
 void dumpInfo(java.io.PrintStream out)
          Dumps info about the device to the given stream.
static void dumpMemoryStats(java.io.PrintStream out)
          Dump memory information to the stream.
static void dumpMemoryStats(java.io.PrintStream out, net.rim.device.api.system.MemoryStats stats, java.lang.String label)
           
static long generateHashCode(java.lang.String str)
          Generates a long hashcode suitable for use as a key into the RIM persistent storage.
 java.lang.String getDeviceID()
          Returns the device ID.
 
Methods inherited from class com.sybase.uep.bobclient.sync.Device
findClass, getDevice, isEmulator, isLocalHTTP, setEmulator, setLocalHTTP
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PIN

public static final int DEFAULT_PIN
See Also:
Constant Field Values

HIGH_HASH

public static final long HIGH_HASH
See Also:
Constant Field Values
Constructor Detail

RIMDevice

public RIMDevice()
Method Detail

createRepository

public Repository createRepository()
Creates a repository object appropriate to the device.

Specified by:
createRepository in class Device

dumpInfo

public void dumpInfo(java.io.PrintStream out)
Dumps info about the device to the given stream.

Specified by:
dumpInfo in class Device

getDeviceID

public java.lang.String getDeviceID()
Returns the device ID.

Specified by:
getDeviceID in class Device

generateHashCode

public static long generateHashCode(java.lang.String str)
Generates a long hashcode suitable for use as a key into the RIM persistent storage.


dumpMemoryStats

public static void dumpMemoryStats(java.io.PrintStream out)
Dump memory information to the stream.


dumpMemoryStats

public static void dumpMemoryStats(java.io.PrintStream out,
                                   net.rim.device.api.system.MemoryStats stats,
                                   java.lang.String label)