|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Connection
Not ready for prime time - please ignore for now.
class Example {
public void main(String[] args) {
com.ccg.net.Connection o = new com.ccg.net.Connection();
System.out.println(o);
}
}
Connector| Method Summary | |
|---|---|
InputStream |
getInputStream()
Get the InputStream for the method (if one exists). |
OutputStream |
getOutputStream()
Get the InputStream for the method (if one exists). |
| Method Detail |
|---|
InputStream getInputStream()
throws NotSupported,
MissingProperties,
ConnectionFailed
InputStream for the method (if one exists).
InputStream object to read data from remote
connection (might be UDP, file, TCP, etc - you just don't
know).
NotSupported - If this Connection object doesn't support reading of
data from other end of connection.
MissingProperties - If we don't have enough information to establish the connection.
ConnectionFailed - If we are unable to connect to the source of our data (for
example, maybe a TCP server isn't responding).getOutputStream()
OutputStream getOutputStream()
throws NotSupported,
MissingProperties,
ConnectionFailed
InputStream for the method (if one exists).
OutputStream object to write data to remote
connection (might be UDP, file, TCP, etc - you just don't
know).
NotSupported - If this Connection object doesn't support writing of
data from other end of connection.
MissingProperties - If we don't have enough information to establish the connection.
ConnectionFailed - If we are unable to connect to the source of our data (for
example, maybe a TCP server isn't responding).getInputStream()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||