Class TSocket.TOutputStreamAdapter

  extended by net.sf.asyncobjects.AsyncUnicastServer<AByteOutput>
      extended by
          extended by
All Implemented Interfaces:
ACloseable, AsyncObject, ExplicitSharing, AByteOutput, AOutput<BinaryData>
Enclosing class:

public class TSocket.TOutputStreamAdapter
extends OutputStreamAdapter

Adapter for socket output stream. Note it uses shutdownOutput instead of stream closing.

Method Summary
 Promise<Void> close()
          close stream
Methods inherited from class
flush, write
Methods inherited from class net.sf.asyncobjects.AsyncUnicastServer
dereference, export, isImmediate, myVat, promise
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.asyncobjects.AsyncObject
dereference, isImmediate

Method Detail


public Promise<Void> close()
Description copied from class: OutputStreamAdapter
close stream

Specified by:
close in interface ACloseable
close in class OutputStreamAdapter
a promise that resolves when object is closed.
See Also:

Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.