C# Class Nancy.LongPoll.PollService.Client

Mostra file Open project: AIexandr/Nancy.LongPoll

Public Methods

Method Description
Client ( ILogger logger ) : Newtonsoft.Json
SendMessage ( Message message ) : void
Wait ( ulong seqCode ) : Message

Private Methods

Method Description
GetNextRequestId ( ) : ulong
GetNextSequenceNumber ( ) : ulong

Method Details

Client() public method

public Client ( ILogger logger ) : Newtonsoft.Json
logger ILogger
return Newtonsoft.Json

SendMessage() public method

public SendMessage ( Message message ) : void
message Message
return void

Wait() public method

public Wait ( ulong seqCode ) : Message
seqCode ulong Код последнего полученного сообщения
return Message