C# Class Telegram.MTProto.Components.UpdatesProcessor

Exibir arquivo Open project: naphaso/kilogram Class Usage Examples

Public Methods

Method Description
GetStateRequest ( ) : System.Threading.Tasks.Task
Process ( messages_StatedMessage statedMessage ) : void
Process ( messages_StatedMessages messages ) : void
ProcessChats ( List chats ) : void
ProcessUpdates ( Updates update ) : void
ProcessUsers ( List users ) : void
Read ( BinaryReader reader ) : void
RequestDifference ( ) : void
UpdatesProcessor ( TelegramSession session ) : System
UpdatesProcessor ( TelegramSession session, BinaryReader reader ) : System
Write ( BinaryWriter writer ) : void
processUpdateDate ( int date ) : bool
processUpdatePtsSeq ( int pts, int seq ) : bool
processUpdatePtsSeqDate ( int pts, int seq, int date ) : bool
processUpdateSeqDate ( int seq, int date ) : bool
processUpdateSeqRangeDate ( int seqStart, int seq, int date ) : bool

Private Methods

Method Description
InitDifferenceExecutor ( ) : void
Process ( List links ) : void
Process ( Messages_statedMessageConstructor statedMessage ) : void
Process ( Messages_statedMessageLinkConstructor statedMessage ) : void
Process ( Messages_statedMessagesConstructor messages ) : void
Process ( Messages_statedMessagesLinksConstructor messages ) : void
ProcessNewMessage ( Message message ) : void
ProcessNewMessages ( List messages ) : void
ProcessUpdate ( Update update ) : void
ProcessUpdate ( UpdateActivationConstructor update ) : void
ProcessUpdate ( UpdateChatParticipantAddConstructor update ) : void
ProcessUpdate ( UpdateChatParticipantDeleteConstructor update ) : void
ProcessUpdate ( UpdateChatParticipantsConstructor update ) : void
ProcessUpdate ( UpdateChatUserTypingConstructor update ) : void
ProcessUpdate ( UpdateContactLinkConstructor update ) : void
ProcessUpdate ( UpdateContactRegisteredConstructor update ) : void
ProcessUpdate ( UpdateDcOptionsConstructor update ) : void
ProcessUpdate ( UpdateDeleteMessagesConstructor update ) : void
ProcessUpdate ( UpdateEncryptedChatTypingConstructor update ) : void
ProcessUpdate ( UpdateEncryptedMessagesReadConstructor update ) : void
ProcessUpdate ( UpdateEncryptionConstructor update ) : void
ProcessUpdate ( UpdateMessageIDConstructor update ) : void
ProcessUpdate ( UpdateNewAuthorizationConstructor update ) : void
ProcessUpdate ( UpdateNewEncryptedMessageConstructor update ) : void
ProcessUpdate ( UpdateNewGeoChatMessageConstructor update ) : void
ProcessUpdate ( UpdateNewMessageConstructor update ) : void
ProcessUpdate ( UpdateReadMessagesConstructor update ) : void
ProcessUpdate ( UpdateRestoreMessagesConstructor update ) : void
ProcessUpdate ( UpdateShortChatMessageConstructor update ) : void
ProcessUpdate ( UpdateShortConstructor update ) : void
ProcessUpdate ( UpdateShortMessageConstructor update ) : void
ProcessUpdate ( UpdateUserNameConstructor update ) : void
ProcessUpdate ( UpdateUserPhotoConstructor update ) : void
ProcessUpdate ( UpdateUserStatusConstructor update ) : void
ProcessUpdate ( UpdateUserTypingConstructor update ) : void
ProcessUpdate ( UpdatesCombinedConstructor update ) : void
ProcessUpdate ( UpdatesConstructor update ) : void
ProcessUpdate ( UpdatesTooLongConstructor update ) : void
ProcessUpdates ( List updates ) : void
ProcessUpdatesDifference ( List new_messages, List other_updates, List chats, List users, Updates_stateConstructor state ) : void
updatePts ( int pts ) : void
updateSeq ( int seq ) : bool
updateSeq ( int startSeq, int seq ) : bool

Method Details

GetStateRequest() public method

public GetStateRequest ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Process() public method

public Process ( messages_StatedMessage statedMessage ) : void
statedMessage messages_StatedMessage
return void

Process() public method

public Process ( messages_StatedMessages messages ) : void
messages messages_StatedMessages
return void

ProcessChats() public method

public ProcessChats ( List chats ) : void
chats List
return void

ProcessUpdates() public method

public ProcessUpdates ( Updates update ) : void
update Updates
return void

ProcessUsers() public method

public ProcessUsers ( List users ) : void
users List
return void

Read() public method

public Read ( BinaryReader reader ) : void
reader System.IO.BinaryReader
return void

RequestDifference() public method

public RequestDifference ( ) : void
return void

UpdatesProcessor() public method

public UpdatesProcessor ( TelegramSession session ) : System
session TelegramSession
return System

UpdatesProcessor() public method

public UpdatesProcessor ( TelegramSession session, BinaryReader reader ) : System
session TelegramSession
reader System.IO.BinaryReader
return System

Write() public method

public Write ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
return void

processUpdateDate() public method

public processUpdateDate ( int date ) : bool
date int
return bool

processUpdatePtsSeq() public method

public processUpdatePtsSeq ( int pts, int seq ) : bool
pts int
seq int
return bool

processUpdatePtsSeqDate() public method

public processUpdatePtsSeqDate ( int pts, int seq, int date ) : bool
pts int
seq int
date int
return bool

processUpdateSeqDate() public method

public processUpdateSeqDate ( int seq, int date ) : bool
seq int
date int
return bool

processUpdateSeqRangeDate() public method

public processUpdateSeqRangeDate ( int seqStart, int seq, int date ) : bool
seqStart int
seq int
date int
return bool