Click or drag to resize

ICrosserTransport Interface

Crosser transport definition

Namespace:  Crosser.Common.Server.Transport
Assembly:  Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax
C#
public interface ICrosserTransport : IBaseTransport, 
	IDisposable

The ICrosserTransport type exposes the following members.

Properties
  NameDescription
Public propertyEndpoint
The IBaseEndpoint that the client connected to
(Inherited from IBaseTransport.)
Top
Methods
  NameDescription
Public methodCreateStreamsT(Stream)
Setup the underlying streams for the transport
(Inherited from IBaseTransport.)
Public methodCreateStreamsT(Socket)
Setup the underlying streams for the transport
(Inherited from IBaseTransport.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodFlush
Make sure that data is sent
(Inherited from IBaseTransport.)
Public methodReadAsync(Byte, Int32)
Read data from the transport into the buffer
(Inherited from IBaseTransport.)
Public methodReadAsync(Byte, Int32, Int32)
Read data from the transport into the buffer
(Inherited from IBaseTransport.)
Public methodReadOp
Reads the next byte from the underlying transport
(Inherited from IBaseTransport.)
Public methodRemoteAddress
If your transport supports remote address you can overwrite this to return teh correct IP etc.
(Inherited from IBaseTransport.)
Public methodWriteAsync(Byte, Boolean)
Write bytes to the underlying transport
(Inherited from IBaseTransport.)
Public methodWriteAsync(Byte, Int32, Int32, Boolean)
Write bytes to the underlying transport
(Inherited from IBaseTransport.)
Top
See Also