ConnectionPool

Overview

ConnectionPool class determines a connection pool which is used to represent outgoing connections and is not used to represent incoming connections because they are not used for pooling.

Location


 

constructor

 

constructor

 

ConnectionPool()

 

Sub New()

constructor (Binding, Binding)

 

constructor(bindingV4: Binding; bindingV6: Binding)

 

ConnectionPool(Binding bindingV4, Binding bindingV6)

 

Sub New(bindingV4 As Binding, bindingV6 As Binding)

Parameters:

  • bindingV4:
  • bindingV6:

BindingV4

Gets the IPv4 Binding instance.

 

property BindingV4: Binding read;

 

Binding BindingV4 { get; }

 

ReadOnly Property BindingV4() As Binding

BindingV6

Gets the IPv6 Binding instance.

 

property BindingV6: Binding read;

 

Binding BindingV6 { get; }

 

ReadOnly Property BindingV6() As Binding

ConnectionClass

 

property ConnectionClass: Type read write;

 

Type ConnectionClass { get; set; }

 

Property ConnectionClass() As Type

ConnectionFactory

 

property ConnectionFactory: IConnectionFactory read write;

 

IConnectionFactory ConnectionFactory { get; set; }

 

Property ConnectionFactory() As IConnectionFactory

Dispose

 

method Dispose

 

void Dispose()

 

Sub Dispose()

GetConnection

 

method GetConnection(endPoint: EndPoint): Connection

 

Connection GetConnection(EndPoint endPoint)

 

Function GetConnection(endPoint As EndPoint) As Connection

Parameters:

  • endPoint:

GetNewConnection

 

method GetNewConnection(endPoint: EndPoint): Connection

 

Connection GetNewConnection(EndPoint endPoint)

 

Function GetNewConnection(endPoint As EndPoint) As Connection

Parameters:

  • endPoint:

MaxQueuePerHost

 

property MaxQueuePerHost: Int32 read write;

 

Int32 MaxQueuePerHost { get; set; }

 

Property MaxQueuePerHost() As Int32

ReleaseConnection

 

method ReleaseConnection(connection: Connection)

 

void ReleaseConnection(Connection connection)

 

Sub ReleaseConnection(connection As Connection)

Parameters:

  • connection:

Timeout

 

property Timeout: Int32 read write;

 

Int32 Timeout { get; set; }

 

Property Timeout() As Int32

 

BindingV4

Gets the IPv4 Binding instance.

 

property BindingV4: Binding read;

 

Binding BindingV4 { get; }

 

ReadOnly Property BindingV4() As Binding

BindingV6

Gets the IPv6 Binding instance.

 

property BindingV6: Binding read;

 

Binding BindingV6 { get; }

 

ReadOnly Property BindingV6() As Binding

ConnectionClass

 

property ConnectionClass: Type read write;

 

Type ConnectionClass { get; set; }

 

Property ConnectionClass() As Type

ConnectionFactory

 

property ConnectionFactory: IConnectionFactory read write;

 

IConnectionFactory ConnectionFactory { get; set; }

 

Property ConnectionFactory() As IConnectionFactory

MaxQueuePerHost

 

property MaxQueuePerHost: Int32 read write;

 

Int32 MaxQueuePerHost { get; set; }

 

Property MaxQueuePerHost() As Int32

Timeout

 

property Timeout: Int32 read write;

 

Int32 Timeout { get; set; }

 

Property Timeout() As Int32

 

constructor

 

constructor

 

ConnectionPool()

 

Sub New()

constructor (Binding, Binding)

 

constructor(bindingV4: Binding; bindingV6: Binding)

 

ConnectionPool(Binding bindingV4, Binding bindingV6)

 

Sub New(bindingV4 As Binding, bindingV6 As Binding)

Parameters:

  • bindingV4:
  • bindingV6:

Dispose

 

method Dispose

 

void Dispose()

 

Sub Dispose()

GetConnection

 

method GetConnection(endPoint: EndPoint): Connection

 

Connection GetConnection(EndPoint endPoint)

 

Function GetConnection(endPoint As EndPoint) As Connection

Parameters:

  • endPoint:

GetNewConnection

 

method GetNewConnection(endPoint: EndPoint): Connection

 

Connection GetNewConnection(EndPoint endPoint)

 

Function GetNewConnection(endPoint As EndPoint) As Connection

Parameters:

  • endPoint:

ReleaseConnection

 

method ReleaseConnection(connection: Connection)

 

void ReleaseConnection(Connection connection)

 

Sub ReleaseConnection(connection As Connection)

Parameters:

  • connection: