|
SunSPOT host API V6.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
com.sun.spot.io.j2me.socket.SocketProtocolOutputStream
public class SocketProtocolOutputStream
Socket specific InputSteam. This class handles the passing of protocol information while remaining seamless to the user.
| Field Summary | |
|---|---|
static int |
CONNECTION_CLOSE
|
static int |
END_OF_MSG
|
static int |
ESCAPE_CHAR
|
static int |
FLUSH
|
static int |
IOEXCEPTION
|
| Constructor Summary | |
|---|---|
SocketProtocolOutputStream(OutputStream out)
Create the output stream from another OutputStream. |
|
| Method Summary | |
|---|---|
void |
close()
Close the OutputStream |
void |
flush()
Flush the stream. |
void |
write(int data)
Write data in the stream. |
void |
writeError(String message)
Write an error to the stream. |
| Methods inherited from class java.io.OutputStream |
|---|
write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ESCAPE_CHAR
public static final int CONNECTION_CLOSE
public static final int IOEXCEPTION
public static final int END_OF_MSG
public static final int FLUSH
| Constructor Detail |
|---|
public SocketProtocolOutputStream(OutputStream out)
out - OutputStream to be used| Method Detail |
|---|
public void write(int data)
throws IOException
write in class OutputStreamIOException
public void writeError(String message)
throws IOException
IOException
public void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOException
public void close()
throws IOException
close in interface Closeableclose in class OutputStreamIOException
|
SunSPOT host API V6.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||