Click or drag to resize

StreamTransport Methods

The StreamTransport type exposes the following members.

Methods
  NameDescription
Public methodCreateStreamsT(Socket)
Overwrite this when you create custom Transports for socket communication
(Inherited from BaseTransport.)
Public methodCreateStreamsT(Stream)
Setup read/write streams and set the IProtocol
(Overrides BaseTransportCreateStreamsT(Stream).)
Public methodDispose
Clean up resources and dispose
(Overrides BaseTransportDispose.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush
Flush the underlying stream
(Overrides BaseTransportFlush.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadAsync(Byte, Int32)
Reads data from the underlying stream
(Overrides BaseTransportReadAsync(Byte, Int32).)
Public methodReadAsync(Byte, Int32, Int32)
Reads data from the underlying stream
(Overrides BaseTransportReadAsync(Byte, Int32, Int32).)
Public methodReadOp
Reads the next byte from the underlying stream
(Overrides BaseTransportReadOp.)
Public methodRemoteAddress
If your transport supports remote address you can overwrite this to return teh correct IP etc.
(Inherited from BaseTransport.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteAsync(Byte, Boolean)
Write data to the underlying stream
(Overrides BaseTransportWriteAsync(Byte, Boolean).)
Public methodWriteAsync(Byte, Int32, Int32, Boolean)
Write data to the underlying stream
(Overrides BaseTransportWriteAsync(Byte, Int32, Int32, Boolean).)
Top
See Also