public interface ITcpClient

Known direct subtypes: TcpClientAdapter

Summary

Wrapper interface for standard TCP-client. Provides socket for socket frame handler class.

Remarks

Contains all methods that are currenty in use in rabbitmq client.

Property Summary

Type Name Summary
Socket Client (rw)

(undocumented)

bool Connected (r)

(undocumented)

int ReceiveTimeout (rw)

(undocumented)

Method Summary

Name Summary
IAsyncResult BeginConnect(string host, int port, AsyncCallback requestCallback, object state)

(undocumented)

void Close()

(undocumented)

void EndConnect(IAsyncResult asyncResult)

(undocumented)

NetworkStream GetStream()

(undocumented)

Property Detail

Socket Client (rw)

bool Connected (r)

int ReceiveTimeout (rw)

Method Detail

BeginConnect

IAsyncResult BeginConnect(string host, int port, AsyncCallback requestCallback, object state)

Return type IAsyncResult
Parameters
Name Type
host string
port int
requestCallback AsyncCallback
state object

Close

void Close()

Return type void

EndConnect

void EndConnect(IAsyncResult asyncResult)

Return type void
Parameters
Name Type
asyncResult IAsyncResult

GetStream

NetworkStream GetStream()

Return type NetworkStream