uka.gm
Class GMServer.Connection.Output
java.lang.Object
java.io.OutputStream
uka.gm.GMServer.Connection.Output
- Enclosing class:
- GMServer.Connection
- private final class GMServer.Connection.Output
- extends java.io.OutputStream
OutputStream view of a Connection. Because OutputStream is
a class instead of an interface, Connection can not extend
OutputStream and Inputstream, no multiple inheritance.
- See Also:
GMServer.Connection.getOutputStream()
|
Method Summary |
void |
close()
|
void |
write(byte[] buffer)
|
void |
write(byte[] buffer,
int offset,
int length)
|
void |
write(int b)
Connection is not buffered, therefore is this method
can not be implemented efficiently. |
| Methods inherited from class java.io.OutputStream |
flush |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMServer.Connection.Output
private GMServer.Connection.Output()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] buffer)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Connection is not buffered, therefore is this method
can not be implemented efficiently.
- Throws:
java.lang.UnsupportedOperationException
java.io.IOException