|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.AIMFingerPrintInfo
public class AIMFingerPrintInfo
This is all for fingerprinting clients. This isn't much of a help since many different clients use the same fingerprint.
Constructor Summary | |
---|---|
AIMFingerPrintInfo()
Creates a new empty fingerprint. |
|
AIMFingerPrintInfo(int clientId,
byte[] data)
Creates a new fingerprint. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Determines if two fingerprints are equal. |
int |
getClientId()
Get the value of clientId. |
byte[] |
getData()
Get the value of data. |
static byte[] |
getFingerPrintData(int clientId)
Lookup fingerprint data by clientId. |
static int |
getFingerPrintId(byte[] data)
Find the client id with the given by data. |
int |
hashCode()
Return the hash code of this fingerprint. |
void |
setClientId(int clientId)
Set the value of clientId. |
void |
setData(byte[] data)
Set the value of data. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AIMFingerPrintInfo()
public AIMFingerPrintInfo(int clientId, byte[] data)
clientId
- the client IDdata
- the fingerprint dataMethod Detail |
---|
public int getClientId()
public void setClientId(int clientId)
clientId
- Value to assign to clientId.public byte[] getData()
public void setData(byte[] data)
data
- Value to assign to data.public boolean equals(Object obj)
equals
in class Object
obj
- the fingerprint to test
public int hashCode()
hashCode
in class Object
public static byte[] getFingerPrintData(int clientId)
clientId
- the client id to find
AIMConstants
public static int getFingerPrintId(byte[] data)
data
- the data to test
AIMConstants
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |