StreamTransport

Transport for stream sockets.

Constructors

this
this(OverlappedConnectedSocket socket)

Creates new completion port transport.

Members

Functions

close
void close()

Close the transport.

invoke
void invoke()

Invokes the watcher callback.

isClosing
bool isClosing()

Returns true if the transport is closing or closed.

write
void write(ubyte[] data)

Write some data to the transport.

Properties

protocol
Protocol protocol [@property getter]
protocol
Protocol protocol [@property setter]

Switches the protocol.

socket
OverlappedConnectedSocket socket [@property getter]

Inherited Members

From SocketWatcher

socket_
Socket socket_;

Watched socket.

socket
Socket socket [@property getter]

From DuplexTransport

protocol
Protocol protocol [@property getter]
protocol
Protocol protocol [@property setter]

Switches the protocol.

isClosing
bool isClosing()

Returns true if the transport is closing or closed.

close
void close()

Close the transport.

From SocketTransport

socket
Socket socket [@property getter]

Meta