Class TcpTransportFactory
Inheritance
System.Object
TcpTransportFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Apache.NMS.ActiveMQ.dll
Syntax
[ActiveMQTransportFactory("tcp")]
public class TcpTransportFactory : ITransportFactory
Constructors
|
Improve this Doc
View Source
TcpTransportFactory()
Declaration
public TcpTransportFactory()
Properties
|
Improve this Doc
View Source
ConnectTimeout
Declaration
public int ConnectTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ReceiveBufferSize
Declaration
public int ReceiveBufferSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ReceiveTimeout
Declaration
public int ReceiveTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SendBufferSize
Declaration
public int SendBufferSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SendTimeout
Declaration
public int SendTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
UseInactivityMonitor
Declaration
public bool UseInactivityMonitor { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UseLogging
Declaration
public bool UseLogging { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
CompositeConnect(Uri)
Declaration
public ITransport CompositeConnect(Uri location)
Parameters
Type |
Name |
Description |
System.Uri |
location |
|
Returns
|
Improve this Doc
View Source
CreateTransport(Uri)
Declaration
public ITransport CreateTransport(Uri location)
Parameters
Type |
Name |
Description |
System.Uri |
location |
|
Returns
|
Improve this Doc
View Source
DoBind(Socket, String, Int32)
Declaration
protected void DoBind(Socket socket, string host, int port)
Parameters
Type |
Name |
Description |
System.Net.Sockets.Socket |
socket |
|
System.String |
host |
|
System.Int32 |
port |
|
|
Improve this Doc
View Source
DoConnect(String, Int32, String, Int32)
Declaration
protected Socket DoConnect(string host, int port, string localAddress, int localPort)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.Int32 |
port |
|
System.String |
localAddress |
|
System.Int32 |
localPort |
|
Returns
Type |
Description |
System.Net.Sockets.Socket |
|
|
Improve this Doc
View Source
Override in a subclass to create the specific type of transport that is
being implemented.
Declaration
protected virtual ITransport DoCreateTransport(Uri location, Socket socket, IWireFormat wireFormat)
Parameters
Type |
Name |
Description |
System.Uri |
location |
|
System.Net.Sockets.Socket |
socket |
|
IWireFormat |
wireFormat |
|
Returns
|
Improve this Doc
View Source
GetIPAddress(IPHostEntry, AddressFamily)
Declaration
public static IPAddress GetIPAddress(IPHostEntry hostEntry, AddressFamily addressFamily)
Parameters
Type |
Name |
Description |
System.Net.IPHostEntry |
hostEntry |
|
System.Net.Sockets.AddressFamily |
addressFamily |
|
Returns
Type |
Description |
System.Net.IPAddress |
|
|
Improve this Doc
View Source
GetIPAddress(String, AddressFamily)
Declaration
public static IPAddress GetIPAddress(string hostname, AddressFamily addressFamily)
Parameters
Type |
Name |
Description |
System.String |
hostname |
|
System.Net.Sockets.AddressFamily |
addressFamily |
|
Returns
Type |
Description |
System.Net.IPAddress |
|
|
Improve this Doc
View Source
GetIPHostEntry(String)
Declaration
public static IPHostEntry GetIPHostEntry(string host)
Parameters
Type |
Name |
Description |
System.String |
host |
|
Returns
Type |
Description |
System.Net.IPHostEntry |
|
|
Improve this Doc
View Source
TryParseIPAddress(String, out IPAddress)
Declaration
public static bool TryParseIPAddress(string host, out IPAddress ipaddress)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.Net.IPAddress |
ipaddress |
|
Returns
Type |
Description |
System.Boolean |
|
Implements