|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibutton.iButton
Class that represents a physical iButton attached to a port.
| Constructor Summary | |
iButton(Access access,
int[] romID)
Constructor for the iButton object |
|
| Method Summary | |
Access |
getAccess()
Gets the Access object used to communicate with the physical iButton. |
int |
getFamilyCode()
Get the Family code of the iButton this object represents. |
int[] |
getRomID()
Gets the ROM ID of the iButton this object represents. |
boolean |
isRomID(int[] id)
Checks to see if the id passed in matches the ROM ID of this iButton object. |
boolean |
select()
Verifies that the iButton is still attached to the port. |
java.lang.String |
toString()
Returns a string representing the ROM Id that this iButton object is associated with. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public iButton(Access access,
int[] romID)
comm - the cibComm object representing how this button will communicate with the physical button| Method Detail |
public int[] getRomID()
public int getFamilyCode()
public boolean select()
public boolean isRomID(int[] id)
id - the ROM Id to check against this iButton object.public Access getAccess()
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||