C# Class CSharpUtils._45.MongoAsync.MongoClientAsync

Show file Open project: soywiz/csharputils

Protected Properties

Property Type Description
TcpClient System.Net.Sockets.TcpClient

Public Methods

Method Description
Connect ( string Host = "localhost", ushort Port = 27017 ) : void
MongoClientAsync ( ) : System
SendCommand ( ) : Task>

Protected Methods

Method Description
ReadPacketAsync ( Stream Stream ) : Task
ReadReplyFromMemory ( MemoryStream PacketStream ) : Task>

Method Details

Connect() public method

public Connect ( string Host = "localhost", ushort Port = 27017 ) : void
Host string
Port ushort
return void

MongoClientAsync() public method

public MongoClientAsync ( ) : System
return System

ReadPacketAsync() protected method

protected ReadPacketAsync ( Stream Stream ) : Task
Stream Stream
return Task

ReadReplyFromMemory() protected method

protected ReadReplyFromMemory ( MemoryStream PacketStream ) : Task>
PacketStream System.IO.MemoryStream
return Task>

SendCommand() public method

public SendCommand ( ) : Task>
return Task>

Property Details

TcpClient protected property

protected TcpClient,System.Net.Sockets TcpClient
return System.Net.Sockets.TcpClient