C# Class WhatsAppApi.WhatsSendBase

Inheritance: AxolotlManager
Mostrar archivo Open project: kwailo888/AxolotlTestApp

Protected Properties

Property Type Description
m_usePoolMessages bool

Public Methods

Method Description
Login ( byte nextChallenge = null ) : void
PollMessages ( bool autoReceipt = true ) : void
SendAvailableForChat ( string nickName = null, bool isHidden = false ) : void
handleMessage ( ProtocolTreeNode node, bool autoReceipt ) : void
pollMessage ( bool autoReceipt = true ) : bool

Protected Methods

Method Description
SendClearDirty ( IEnumerable categoryNames ) : void
SendClearDirty ( string category ) : void
SendDeliveredReceiptAck ( string to, string id ) : void
SendMessageReceived ( FMessage message, string type = "read" ) : void
SendNotificationReceived ( string jid, string id ) : void
SendPong ( string id ) : void
addAuth ( ) : ProtocolTreeNode
addAuthResponse ( ) : ProtocolTreeNode
addFeatures ( ) : ProtocolTreeNode
getAuthBlob ( ) : byte[]
handleIq ( ProtocolTreeNode node ) : void
handleNotification ( ProtocolTreeNode node ) : void
processChallenge ( ProtocolTreeNode node ) : void
processInboundData ( byte msgdata, bool autoReceipt = true ) : bool
sendMessageReceived ( ProtocolTreeNode msg, string type = "read" ) : void

Private Methods

Method Description
SendNotificationAck ( ProtocolTreeNode node, string type = null ) : void
SendReceiptAck ( string to, string id, string receiptType ) : void

Method Details

Login() public method

public Login ( byte nextChallenge = null ) : void
nextChallenge byte
return void

PollMessages() public method

public PollMessages ( bool autoReceipt = true ) : void
autoReceipt bool
return void

SendAvailableForChat() public method

public SendAvailableForChat ( string nickName = null, bool isHidden = false ) : void
nickName string
isHidden bool
return void

SendClearDirty() protected method

protected SendClearDirty ( IEnumerable categoryNames ) : void
categoryNames IEnumerable
return void

SendClearDirty() protected method

protected SendClearDirty ( string category ) : void
category string
return void

SendDeliveredReceiptAck() protected method

protected SendDeliveredReceiptAck ( string to, string id ) : void
to string
id string
return void

SendMessageReceived() protected method

protected SendMessageReceived ( FMessage message, string type = "read" ) : void
message WhatsAppApi.Parser.FMessage
type string
return void

SendNotificationReceived() protected method

protected SendNotificationReceived ( string jid, string id ) : void
jid string
id string
return void

SendPong() protected method

protected SendPong ( string id ) : void
id string
return void

addAuth() protected method

protected addAuth ( ) : ProtocolTreeNode
return WhatsAppApi.Helper.ProtocolTreeNode

addAuthResponse() protected method

protected addAuthResponse ( ) : ProtocolTreeNode
return WhatsAppApi.Helper.ProtocolTreeNode

addFeatures() protected method

protected addFeatures ( ) : ProtocolTreeNode
return WhatsAppApi.Helper.ProtocolTreeNode

getAuthBlob() protected method

protected getAuthBlob ( ) : byte[]
return byte[]

handleIq() protected method

protected handleIq ( ProtocolTreeNode node ) : void
node WhatsAppApi.Helper.ProtocolTreeNode
return void

handleMessage() public method

public handleMessage ( ProtocolTreeNode node, bool autoReceipt ) : void
node WhatsAppApi.Helper.ProtocolTreeNode
autoReceipt bool
return void

handleNotification() protected method

protected handleNotification ( ProtocolTreeNode node ) : void
node WhatsAppApi.Helper.ProtocolTreeNode
return void

pollMessage() public method

public pollMessage ( bool autoReceipt = true ) : bool
autoReceipt bool
return bool

processChallenge() protected method

protected processChallenge ( ProtocolTreeNode node ) : void
node WhatsAppApi.Helper.ProtocolTreeNode
return void

processInboundData() protected method

protected processInboundData ( byte msgdata, bool autoReceipt = true ) : bool
msgdata byte
autoReceipt bool
return bool

sendMessageReceived() protected method

protected sendMessageReceived ( ProtocolTreeNode msg, string type = "read" ) : void
msg WhatsAppApi.Helper.ProtocolTreeNode
type string
return void

Property Details

m_usePoolMessages protected_oe property

protected bool m_usePoolMessages
return bool