kodi
Public Member Functions | Static Public Attributes | List of all members
org.xbmc.eventclient.PacketACTION Class Reference

XBMC Event Client Class. More...

Inheritance diagram for org.xbmc.eventclient.PacketACTION:
Inheritance graph
[legend]
Collaboration diagram for org.xbmc.eventclient.PacketACTION:
Collaboration graph
[legend]

Public Member Functions

 PacketACTION (String actionmessage)
 An ACTION packet tells XBMC to do the action specified, based on the type it knows were it needs to be sent. More...
 
 PacketACTION (String actionmessage, byte actiontype)
 An ACTION packet tells XBMC to do the action specified, based on the type it knows were it needs to be sent. More...
 
- Public Member Functions inherited from org.xbmc.eventclient.Packet
int getNumPackets ()
 Get Number of Packets which will be sent with current Payload... More...
 
void send (InetAddress adr, int port) throws IOException
 Sends this packet to the EventServer. More...
 

Static Public Attributes

static final byte ACTION_EXECBUILTIN = 0x01
 
static final byte ACTION_BUTTON = 0x02
 
- Static Public Attributes inherited from org.xbmc.eventclient.Packet
static final byte ICON_NONE = 0x00
 
static final byte ICON_JPEG = 0x01
 
static final byte ICON_PNG = 0x02
 
static final byte ICON_GIF = 0x03
 

Additional Inherited Members

- Protected Member Functions inherited from org.xbmc.eventclient.Packet
 Packet (short packettype)
 This is an Abstract class and cannot be instanced. More...
 
void appendPayload (String payload)
 Appends a String to the payload (terminated with 0x00) More...
 
void appendPayload (byte payload)
 Appends a single Byte to the payload. More...
 
void appendPayload (byte[] payloadarr)
 Appends a Byte-Array to the payload. More...
 
void appendPayload (int i)
 Appends an integer to the payload. More...
 
void appendPayload (short s)
 Appends a short to the payload. More...
 
- Static Protected Attributes inherited from org.xbmc.eventclient.Packet
static final byte PT_HELO = 0x01
 
static final byte PT_BYE = 0x02
 
static final byte PT_BUTTON = 0x03
 
static final byte PT_MOUSE = 0x04
 
static final byte PT_PING = 0x05
 
static final byte PT_BROADCAST = 0x06
 
static final byte PT_NOTIFICATION = 0x07
 
static final byte PT_BLOB = 0x08
 
static final byte PT_LOG = 0x09
 
static final byte PT_ACTION = 0x0A
 
static final byte PT_DEBUG = (byte)0xFF
 

Detailed Description

XBMC Event Client Class.

An ACTION packet tells XBMC to do the action specified, based on the type it knows were it needs to be sent. The idea is that this will be as in scripting/skining and keymapping, just triggered from afar.

Author
Stefan Agner

Constructor & Destructor Documentation

◆ PacketACTION() [1/2]

org.xbmc.eventclient.PacketACTION.PacketACTION ( String  actionmessage)
inline

An ACTION packet tells XBMC to do the action specified, based on the type it knows were it needs to be sent.

Parameters
actionmessageActionmessage (as in scripting/skinning)

◆ PacketACTION() [2/2]

org.xbmc.eventclient.PacketACTION.PacketACTION ( String  actionmessage,
byte  actiontype 
)
inline

An ACTION packet tells XBMC to do the action specified, based on the type it knows were it needs to be sent.

Parameters
actionmessageActionmessage (as in scripting/skinning)
actiontypeActiontype (ACTION_EXECBUILTIN or ACTION_BUTTON)

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