net.sf.asyncobjects.net.threading
Class TSocket.TOutputStreamAdapter
java.lang.Object
net.sf.asyncobjects.AsyncUnicastServer<AByteOutput>
net.sf.asyncobjects.io.adapters.OutputStreamAdapter
net.sf.asyncobjects.net.threading.TSocket.TOutputStreamAdapter
- All Implemented Interfaces:
- ACloseable, AsyncObject, ExplicitSharing, AByteOutput, AOutput<BinaryData>
- Enclosing class:
- TSocket
public class TSocket.TOutputStreamAdapter
- extends OutputStreamAdapter
Adapter for socket output stream. Note it uses shutdownOutput instead of
stream closing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
close
public Promise<Void> close()
- Description copied from class:
OutputStreamAdapter
- close stream
- Specified by:
close
in interface ACloseable
- Overrides:
close
in class OutputStreamAdapter
- Returns:
- a promise that resolves when object is closed.
- See Also:
OutputStreamAdapter.close()
Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.