kodi
Public Member Functions | Public Attributes | List of all members
python.xbmcclient.PacketHELO Class Reference
Inheritance diagram for python.xbmcclient.PacketHELO:
Inheritance graph
[legend]
Collaboration diagram for python.xbmcclient.PacketHELO:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, devicename=None, icon_type=ICON_NONE, icon_file=None)
 
- Public Member Functions inherited from python.xbmcclient.Packet
def __init__ (self)
 
def append_payload (self, blob)
 
def set_payload (self, payload)
 
def num_packets (self)
 
def get_header (self, packettype=-1, seq=1, maxseq=1, payload_size=0)
 
def get_payload_size (self, seq)
 
def get_udp_message (self, packetnum=1)
 
def send (self, sock, addr, uid=UNIQUE_IDENTIFICATION)
 

Public Attributes

 packettype
 
 icontype
 
- Public Attributes inherited from python.xbmcclient.Packet
 sig
 
 minver
 
 majver
 
 seq
 
 maxseq
 
 payloadsize
 
 uid
 
 reserved
 
 payload
 

Detailed Description

A HELO packet

A HELO packet establishes a valid connection to XBMC. It is the
first packet that should be sent.

Constructor & Destructor Documentation

◆ __init__()

def python.xbmcclient.PacketHELO.__init__ (   self,
  devicename = None,
  icon_type = ICON_NONE,
  icon_file = None 
)
Keyword arguments:
devicename -- the string that identifies the client
icon_type -- one of ICON_NONE, ICON_JPEG, ICON_PNG, ICON_GIF
icon_file -- location of icon file with respect to current working
     directory if icon_type is not ICON_NONE

The documentation for this class was generated from the following file: