|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.squawk.io.ConnectionBase
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 com.sun.squawk.io.ConnectionBase |
|---|
close, openDataOutputStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.microedition.io.OutputConnection |
|---|
openDataOutputStream |
| Methods inherited from interface javax.microedition.io.Connection |
|---|
close |
| 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
openOutputStream in interface OutputConnectionopenOutputStream in class ConnectionBasejava.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 | ||||||||