ERXEOGlobalIDUtilities.Info Class Reference

List of all members.

Public Member Functions

short counter ()
InetAddress host ()
 Info (EOGlobalID gid)
long milliseconds ()
long port ()
long random ()
NSTimestamp timestamp ()
String toString ()

Private Member Functions

byte extractByte (int offset)
int extractInt (int offset)
long extractLong (int offset)
short extractShort (int offset)

Private Attributes

byte _data []

Static Private Attributes

static final int _CounterStartIndex = 10
static final int _HostIdentificationStartIndex = 0
static final int _ProcessIdentificationStartIndex = 6
static final int _RandomStartIndex = 20
static final int _TimestampStartIndex = 12


Detailed Description

Unencrypts the byte array of NSData PKs so you get the process number or port, host and timestamp.

Author:
ak

Constructor & Destructor Documentation

Info ( EOGlobalID  gid  ) 


Member Function Documentation

short counter (  ) 

byte extractByte ( int  offset  )  [private]

int extractInt ( int  offset  )  [private]

long extractLong ( int  offset  )  [private]

short extractShort ( int  offset  )  [private]

InetAddress host (  ) 

long milliseconds (  ) 

long port (  ) 

long random (  ) 

NSTimestamp timestamp (  ) 

String toString (  ) 


Member Data Documentation

final int _CounterStartIndex = 10 [static, private]

byte _data[] [private]

final int _HostIdentificationStartIndex = 0 [static, private]

final int _ProcessIdentificationStartIndex = 6 [static, private]

final int _RandomStartIndex = 20 [static, private]

final int _TimestampStartIndex = 12 [static, private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:10 2012 for Project Wonder by  doxygen 1.5.8