|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
---|---|
void |
close()
Close session |
java.lang.String |
getAddressName()
Get address name of session socket |
int |
read(byte[] b,
int off,
int len)
Read data from session into specified buffer |
void |
write(byte[] b,
int off,
int len)
Write data to session from specified buffer |
Method Detail |
public void write(byte[] b, int off, int len) throws java.io.IOException
b
- buffer containing data to writeoff
- offset of data in bufferlen
- length of data in buffer
java.io.IOException
- error on writepublic int read(byte[] b, int off, int len) throws java.io.IOException
b
- buffer to read data intooff
- offset to place data in bufferlen
- length of data to read into buffer
java.io.IOException
- error on readpublic void close() throws java.io.IOException
java.io.IOException
- error on closepublic java.lang.String getAddressName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |