|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Transport
| Method Summary | |
|---|---|
boolean |
connect()
brief Connects to skypekit. |
void |
disconnect()
Disconnects from skypekit |
boolean |
hasMore()
|
boolean |
isConnected()
\brief Check if the connection to SkypeKit is still there. |
int |
peek()
\brief Check value of next byte, but do not remove from stream. |
int |
read()
\brief Read one byte. |
int |
read(int num_bytes,
byte[] bytes)
\brief Read as many bytes as possible, but not more than num_bytes. |
int |
read(int num_bytes,
byte[] bytes,
boolean require_num_bytes)
\brief Read number of bytes indicated. |
void |
startLogging(java.lang.String logFileName)
\brief start transport logging to two files based on logFileName path. |
boolean |
write(byte b)
\brief Write one byte. |
boolean |
write(int num_bytes,
byte[] bytes)
\brief Write buffer to stream. |
| Method Detail |
|---|
boolean connect()
throws java.io.IOException
java.io.IOException
void disconnect()
throws java.io.IOException
java.io.IOException
boolean hasMore()
throws java.io.IOException
java.io.IOException
int read()
throws java.io.IOException
java.io.IOException
int peek()
throws java.io.IOException
java.io.IOException
int read(int num_bytes,
byte[] bytes)
throws java.io.IOException
java.io.IOException
int read(int num_bytes,
byte[] bytes,
boolean require_num_bytes)
throws java.io.IOException
java.io.IOException
boolean write(byte b)
throws java.io.IOException
java.io.IOException
boolean write(int num_bytes,
byte[] bytes)
throws java.io.IOException
java.io.IOException
boolean isConnected()
throws java.io.IOException
java.io.IOExceptionvoid startLogging(java.lang.String logFileName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||