|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectConnectionBase
com.sun.squawk.io.j2me.dserror.Protocol
public class Protocol
This Generic Connection Framework Protocol class writes to the FRC Driver Station error pane.
Field Summary | |
---|---|
protected boolean |
opened
|
Constructor Summary | |
---|---|
Protocol()
|
Method Summary | |
---|---|
Connection |
open(java.lang.String protocol,
java.lang.String name,
int mode,
boolean timeouts)
Open the connection |
java.io.OutputStream |
openOutputStream()
Returns an output stream for this socket. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean opened
Constructor Detail |
---|
public Protocol()
Method Detail |
---|
public Connection open(java.lang.String protocol, java.lang.String name, int mode, boolean timeouts) throws java.io.IOException
name
- the target for the connectiontimeouts
- a flag to indicate that the called wants
timeout exceptions
java.io.IOException
public java.io.OutputStream openOutputStream() throws java.io.IOException
java.io.IOException
- if an I/O error occurs when creating
the output stream.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |