C# Class WhatsAppProtocol, whatsapp-desktop-client

Afficher le fichier Open project: sambulosenda/whatsapp-desktop-client Class Usage Examples

Méthodes publiques

Свойство Type Description
Acc WhatsappAccount,
DEBUG bool
SYSEncoding Encoding
whatsNetwork WhatsNetwork,

Méthodes publiques

Méthode Description
AddMessage ( ProtocolTreeNode, node ) : void
Connect ( ) : void
Disconnect ( ) : void
GetAccountInfo ( ) : AccountInfo,
GetAllMessages ( ) : ProtocolTreeNode[],
HasMessages ( ) : bool
Login ( ) : void
Message ( string to, string txt ) : void
MessageImage ( string msgid, string to, string url, string file, string size, string icon ) : void
PollMessages ( ) : void
Pong ( string msgid ) : void
RequestLastSeen ( string jid ) : void
WhatsAppProtocol ( WhatsappAccount, _Acc ) : System
sendNickname ( string nickname ) : void

Méthodes protégées

Méthode Description
DebugPrint ( string debugMsg ) : void
addAuth ( ) : ProtocolTreeNode,
addAuthResponse_v1_2 ( ) : ProtocolTreeNode,
addFeatures ( ) : ProtocolTreeNode,
processChallenge ( ProtocolTreeNode, node ) : void
processInboundData ( byte data ) : void
sendMessageReceived ( ProtocolTreeNode, msg ) : void

Private Methods

Méthode Description
PrintInfo ( string p ) : void
md5 ( string pass ) : string

Method Details

AddMessage() public méthode

public AddMessage ( ProtocolTreeNode, node ) : void
node ProtocolTreeNode,
Résultat void

Connect() public méthode

public Connect ( ) : void
Résultat void

DebugPrint() protected méthode

protected DebugPrint ( string debugMsg ) : void
debugMsg string
Résultat void

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

GetAccountInfo() public méthode

public GetAccountInfo ( ) : AccountInfo,
Résultat AccountInfo,

GetAllMessages() public méthode

public GetAllMessages ( ) : ProtocolTreeNode[],
Résultat ProtocolTreeNode[],

HasMessages() public méthode

public HasMessages ( ) : bool
Résultat bool

Login() public méthode

public Login ( ) : void
Résultat void

Message() public méthode

public Message ( string to, string txt ) : void
to string
txt string
Résultat void

MessageImage() public méthode

public MessageImage ( string msgid, string to, string url, string file, string size, string icon ) : void
msgid string
to string
url string
file string
size string
icon string
Résultat void

PollMessages() public méthode

public PollMessages ( ) : void
Résultat void

Pong() public méthode

public Pong ( string msgid ) : void
msgid string
Résultat void

RequestLastSeen() public méthode

public RequestLastSeen ( string jid ) : void
jid string
Résultat void

WhatsAppProtocol() public méthode

public WhatsAppProtocol ( WhatsappAccount, _Acc ) : System
_Acc WhatsappAccount,
Résultat System

addAuth() protected méthode

protected addAuth ( ) : ProtocolTreeNode,
Résultat ProtocolTreeNode,

addAuthResponse_v1_2() protected méthode

protected addAuthResponse_v1_2 ( ) : ProtocolTreeNode,
Résultat ProtocolTreeNode,

addFeatures() protected méthode

protected addFeatures ( ) : ProtocolTreeNode,
Résultat ProtocolTreeNode,

processChallenge() protected méthode

protected processChallenge ( ProtocolTreeNode, node ) : void
node ProtocolTreeNode,
Résultat void

processInboundData() protected méthode

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

sendMessageReceived() protected méthode

protected sendMessageReceived ( ProtocolTreeNode, msg ) : void
msg ProtocolTreeNode,
Résultat void

sendNickname() public méthode

public sendNickname ( string nickname ) : void
nickname string
Résultat void

Property Details

Acc public_oe property

public WhatsappAccount, Acc
Résultat WhatsappAccount,

DEBUG public_oe static_oe property

public static bool DEBUG
Résultat bool

SYSEncoding public_oe static_oe property

public static Encoding SYSEncoding
Résultat Encoding

whatsNetwork public_oe property

public WhatsNetwork, whatsNetwork
Résultat WhatsNetwork,