|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This Interface contains basic methods for each Iow device.
| Method Summary | |
void |
clearBit(int port,
int bit)
Clear the given bit froma the given port. |
long |
getHandle()
|
int |
getId()
|
Monitor |
getMonitor()
|
java.lang.String |
getName()
|
int |
getRev()
|
java.lang.String |
getSerial()
|
long |
readIOPorts()
|
int[] |
readReport(int pipe)
|
void |
setBit(int port,
int bit)
Set the given bit froma the given port. |
void |
setDirection(int port,
int direction)
Set the direction mask to the given port. |
void |
writeIOPorts()
Write the preseted ports. |
long |
writeReport(int pipe,
int[] wbuf)
|
| Method Detail |
public long readIOPorts()
public int[] readReport(int pipe)
pipe -
public long writeReport(int pipe,
int[] wbuf)
pipe - wbuf -
public long getHandle()
public java.lang.String getSerial()
public int getId()
public int getRev()
public java.lang.String getName()
public Monitor getMonitor()
public void setDirection(int port,
int direction)
throws java.lang.IllegalArgumentException
port - Port number (0...3).direction - 0-output, 1-input
java.lang.IllegalArgumentException
public void setBit(int port,
int bit)
throws java.lang.IllegalArgumentException
port - Port number (0...1).bit - Bit number (0...7).
java.lang.IllegalArgumentException
public void clearBit(int port,
int bit)
throws java.lang.IllegalArgumentException
port - Port number (0...1).bit - Bit number (0...7).
java.lang.IllegalArgumentExceptionpublic void writeIOPorts()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||