C# Class WhatsAppApi.WhatsSendBase

Inheritance: AxolotlManager
Afficher le fichier Open project: kwailo888/AxolotlTestApp

Protected Properties

Свойство Type Description
m_usePoolMessages bool

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

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

Method Details

Login() public méthode

public Login ( byte nextChallenge = null ) : void
nextChallenge byte
Résultat void

PollMessages() public méthode

public PollMessages ( bool autoReceipt = true ) : void
autoReceipt bool
Résultat void

SendAvailableForChat() public méthode

public SendAvailableForChat ( string nickName = null, bool isHidden = false ) : void
nickName string
isHidden bool
Résultat void

SendClearDirty() protected méthode

protected SendClearDirty ( IEnumerable categoryNames ) : void
categoryNames IEnumerable
Résultat void

SendClearDirty() protected méthode

protected SendClearDirty ( string category ) : void
category string
Résultat void

SendDeliveredReceiptAck() protected méthode

protected SendDeliveredReceiptAck ( string to, string id ) : void
to string
id string
Résultat void

SendMessageReceived() protected méthode

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

SendNotificationReceived() protected méthode

protected SendNotificationReceived ( string jid, string id ) : void
jid string
id string
Résultat void

SendPong() protected méthode

protected SendPong ( string id ) : void
id string
Résultat void

addAuth() protected méthode

protected addAuth ( ) : ProtocolTreeNode
Résultat WhatsAppApi.Helper.ProtocolTreeNode

addAuthResponse() protected méthode

protected addAuthResponse ( ) : ProtocolTreeNode
Résultat WhatsAppApi.Helper.ProtocolTreeNode

addFeatures() protected méthode

protected addFeatures ( ) : ProtocolTreeNode
Résultat WhatsAppApi.Helper.ProtocolTreeNode

getAuthBlob() protected méthode

protected getAuthBlob ( ) : byte[]
Résultat byte[]

handleIq() protected méthode

protected handleIq ( ProtocolTreeNode node ) : void
node WhatsAppApi.Helper.ProtocolTreeNode
Résultat void

handleMessage() public méthode

public handleMessage ( ProtocolTreeNode node, bool autoReceipt ) : void
node WhatsAppApi.Helper.ProtocolTreeNode
autoReceipt bool
Résultat void

handleNotification() protected méthode

protected handleNotification ( ProtocolTreeNode node ) : void
node WhatsAppApi.Helper.ProtocolTreeNode
Résultat void

pollMessage() public méthode

public pollMessage ( bool autoReceipt = true ) : bool
autoReceipt bool
Résultat bool

processChallenge() protected méthode

protected processChallenge ( ProtocolTreeNode node ) : void
node WhatsAppApi.Helper.ProtocolTreeNode
Résultat void

processInboundData() protected méthode

protected processInboundData ( byte msgdata, bool autoReceipt = true ) : bool
msgdata byte
autoReceipt bool
Résultat bool

sendMessageReceived() protected méthode

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

Property Details

m_usePoolMessages protected_oe property

protected bool m_usePoolMessages
Résultat bool