BigBrotherBot v1.7.0
System Development Information for the BigBrotherBot project.
Namespaces | Functions | Variables

D:/svn/b3-git/b3/parsers/frostbite/protocol.py File Reference

Namespaces

namespace  b3::parsers::frostbite::protocol

Functions

def b3::parsers::frostbite::protocol::EncodeHeader
def b3::parsers::frostbite::protocol::DecodeHeader
def b3::parsers::frostbite::protocol::EncodeInt32
def b3::parsers::frostbite::protocol::DecodeInt32
def b3::parsers::frostbite::protocol::EncodeWords
def b3::parsers::frostbite::protocol::DecodeWords
def b3::parsers::frostbite::protocol::EncodePacket
def b3::parsers::frostbite::protocol::DecodePacket
def b3::parsers::frostbite::protocol::EncodeClientRequest
def b3::parsers::frostbite::protocol::EncodeClientResponse
def b3::parsers::frostbite::protocol::printPacket
 Display contents of packet in user-friendly format, useful for debugging purposes.
def b3::parsers::frostbite::protocol::generatePasswordHash
def b3::parsers::frostbite::protocol::containsCompletePacket
def b3::parsers::frostbite::protocol::receivePacket

Variables

string b3::parsers::frostbite::protocol::__version__ = '1.0.1'
int b3::parsers::frostbite::protocol::clientSequenceNr = 0
 b3::parsers::frostbite::protocol::host = None
 b3::parsers::frostbite::protocol::port = None
 b3::parsers::frostbite::protocol::pw = None
 b3::parsers::frostbite::protocol::serverSocket = None
string b3::parsers::frostbite::protocol::receiveBuffer = ''
tuple b3::parsers::frostbite::protocol::getPasswordSaltRequest = EncodeClientRequest( [ "login.hashed" ] )
list b3::parsers::frostbite::protocol::salt = words[1]
tuple b3::parsers::frostbite::protocol::passwordHash = generatePasswordHash(salt, pw)
tuple b3::parsers::frostbite::protocol::passwordHashHexString = string.upper(passwordHash.encode("hex"))
tuple b3::parsers::frostbite::protocol::loginRequest = EncodeClientRequest( [ "login.hashed", passwordHashHexString ] )
tuple b3::parsers::frostbite::protocol::enableEventsRequest = EncodeClientRequest( [ "eventsEnabled", "true" ] )
tuple b3::parsers::frostbite::protocol::response = EncodeClientResponse(sequence, ["OK"])
 All Classes Namespaces Files Functions Variables Properties