|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for communicating with a GSM device.
Method Summary | |
void |
close()
Closes the connection to the device. |
void |
open()
Opens a connection to the device. |
java.lang.String |
readLine()
Reads one row of data from the device. |
java.lang.String |
readLine(java.lang.String find)
Reads one row of data from the device or until we have read the find string. |
void |
send(java.lang.String data)
Send data to the device. |
Method Detail |
public void open() throws java.io.IOException
java.io.IOException
public void close()
public void send(java.lang.String data) throws java.io.IOException
data
-
java.io.IOException
public java.lang.String readLine() throws java.io.IOException
java.io.IOException
public java.lang.String readLine(java.lang.String find) throws java.io.IOException
find
-
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |