C# Class WhatsAppApi.WhatsAppBase

Inheritance: WhatsAppApi.WhatsEventBase
Afficher le fichier Open project: kwailo888/AxolotlTestApp

Méthodes publiques

Свойство Type Description
DEBUG bool
DEBUGOutBound bool
SYSEncoding System.Text.Encoding
m_LastSentInfo long

Protected Properties

Свойство Type Description
BinWriter WhatsAppApi.Helper.BinTreeNodeWriter
_challengeBytes byte[]
accountinfo WhatsAppApi.Helper.AccountInfo
hidden bool
loginStatus CONNECTION_STATUS
messageLock object
messageQueue List
name string
outputKey WhatsAppApi.Helper.KeyStream
password string
phoneNumber string
reader WhatsAppApi.Helper.BinTreeNodeReader
timeout int
uploadResponse WhatsAppApi.Helper.ProtocolTreeNode
whatsNetwork WhatsAppApi.WhatsNetwork

Méthodes publiques

Méthode Description
Connect ( ) : void
Disconnect ( Exception ex = null ) : void
GetAccountInfo ( ) : AccountInfo
GetAllMessages ( ) : WhatsAppApi.Helper.ProtocolTreeNode[]
HasMessages ( ) : bool
SendNode ( ProtocolTreeNode node ) : void

Méthodes protégées

Méthode Description
AddMessage ( ProtocolTreeNode node ) : void
SendData ( byte data ) : void
_constructBase ( string phoneNum, string imei, string nick, bool debug, bool hidden ) : void
encryptPassword ( ) : byte[]

Method Details

AddMessage() protected méthode

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

Connect() public méthode

public Connect ( ) : void
Résultat void

Disconnect() public méthode

public Disconnect ( Exception ex = null ) : void
ex System.Exception
Résultat void

GetAccountInfo() public méthode

public GetAccountInfo ( ) : AccountInfo
Résultat WhatsAppApi.Helper.AccountInfo

GetAllMessages() public méthode

public GetAllMessages ( ) : WhatsAppApi.Helper.ProtocolTreeNode[]
Résultat WhatsAppApi.Helper.ProtocolTreeNode[]

HasMessages() public méthode

public HasMessages ( ) : bool
Résultat bool

SendData() protected méthode

protected SendData ( byte data ) : void
data byte
Résultat void

SendNode() public méthode

public SendNode ( ProtocolTreeNode node ) : void
node WhatsAppApi.Helper.ProtocolTreeNode
Résultat void

_constructBase() protected méthode

protected _constructBase ( string phoneNum, string imei, string nick, bool debug, bool hidden ) : void
phoneNum string
imei string
nick string
debug bool
hidden bool
Résultat void

encryptPassword() protected méthode

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

Property Details

BinWriter protected_oe property

protected BinTreeNodeWriter,WhatsAppApi.Helper BinWriter
Résultat WhatsAppApi.Helper.BinTreeNodeWriter

DEBUG public_oe static_oe property

public static bool DEBUG
Résultat bool

DEBUGOutBound public_oe static_oe property

public static bool DEBUGOutBound
Résultat bool

SYSEncoding public_oe static_oe property

public static Encoding,System.Text SYSEncoding
Résultat System.Text.Encoding

_challengeBytes protected_oe property

protected byte[] _challengeBytes
Résultat byte[]

accountinfo protected_oe property

protected AccountInfo,WhatsAppApi.Helper accountinfo
Résultat WhatsAppApi.Helper.AccountInfo

hidden protected_oe property

protected bool hidden
Résultat bool

loginStatus protected_oe property

protected CONNECTION_STATUS loginStatus
Résultat CONNECTION_STATUS

m_LastSentInfo public_oe property

public long m_LastSentInfo
Résultat long

messageLock protected_oe property

protected object messageLock
Résultat object

messageQueue protected_oe property

protected List messageQueue
Résultat List

name protected_oe property

protected string name
Résultat string

outputKey protected_oe property

protected KeyStream,WhatsAppApi.Helper outputKey
Résultat WhatsAppApi.Helper.KeyStream

password protected_oe property

protected string password
Résultat string

phoneNumber protected_oe property

protected string phoneNumber
Résultat string

reader protected_oe property

protected BinTreeNodeReader,WhatsAppApi.Helper reader
Résultat WhatsAppApi.Helper.BinTreeNodeReader

timeout protected_oe property

protected int timeout
Résultat int

uploadResponse protected_oe property

protected ProtocolTreeNode,WhatsAppApi.Helper uploadResponse
Résultat WhatsAppApi.Helper.ProtocolTreeNode

whatsNetwork protected_oe property

protected WhatsNetwork,WhatsAppApi whatsNetwork
Résultat WhatsAppApi.WhatsNetwork