IBaseTransport Interface |
Namespace: Crosser.Common.Server.Transport
public interface IBaseTransport : IDisposable
The IBaseTransport type exposes the following members.
Name | Description | |
---|---|---|
Endpoint |
The IBaseEndpoint that the client connected to
|
Name | Description | |
---|---|---|
CreateStreamsT(Stream) |
Setup the underlying streams for the transport
| |
CreateStreamsT(Socket) |
Setup the underlying streams for the transport
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
Flush |
Make sure that data is sent
| |
ReadAsync(Byte, Int32) |
Read data from the transport into the buffer
| |
ReadAsync(Byte, Int32, Int32) |
Read data from the transport into the buffer
| |
ReadOp |
Reads the next byte from the underlying transport
| |
RemoteAddress |
If your transport supports remote address you can overwrite this to return teh correct IP etc.
| |
WriteAsync(Byte, Boolean) |
Write bytes to the underlying transport
| |
WriteAsync(Byte, Int32, Int32, Boolean) |
Write bytes to the underlying transport
|