Show / Hide Table of Contents

Interface IConnection

Inherited Members
System.IDisposable.Dispose()
Namespace: MonoTorrent.Client.Connections
Assembly: MonoTorrent.dll
Syntax
public interface IConnection : IDisposable

Properties

AddressBytes

Declaration
byte[] AddressBytes { get; }
Property Value
Type Description
System.Byte[]

CanReconnect

Declaration
bool CanReconnect { get; }
Property Value
Type Description
System.Boolean

Connected

Declaration
bool Connected { get; }
Property Value
Type Description
System.Boolean

EndPoint

Declaration
EndPoint EndPoint { get; }
Property Value
Type Description
System.Net.EndPoint

IsIncoming

Declaration
bool IsIncoming { get; }
Property Value
Type Description
System.Boolean

Uri

Declaration
Uri Uri { get; }
Property Value
Type Description
System.Uri

Methods

ConnectAsync()

Declaration
ReusableTask ConnectAsync()
Returns
Type Description
ReusableTasks.ReusableTask

ReceiveAsync(ByteBuffer, Int32, Int32)

Declaration
ReusableTask<int> ReceiveAsync(ByteBuffer buffer, int offset, int count)
Parameters
Type Name Description
ByteBuffer buffer
System.Int32 offset
System.Int32 count
Returns
Type Description
ReusableTasks.ReusableTask<System.Int32>

SendAsync(ByteBuffer, Int32, Int32)

Declaration
ReusableTask<int> SendAsync(ByteBuffer buffer, int offset, int count)
Parameters
Type Name Description
ByteBuffer buffer
System.Int32 offset
System.Int32 count
Returns
Type Description
ReusableTasks.ReusableTask<System.Int32>
In This Article
Back to top Generated by DocFX