XBMC Event Client Class.
More...
|
| PacketLOG (byte loglevel, String logmessage) |
| A LOG packet tells XBMC to log the message to xbmc.log with the loglevel as specified. More...
|
|
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 final byte | ICON_NONE = 0x00 |
|
static final byte | ICON_JPEG = 0x01 |
|
static final byte | ICON_PNG = 0x02 |
|
static final byte | ICON_GIF = 0x03 |
|
| 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 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 |
|
XBMC Event Client Class.
A LOG packet tells XBMC to log the message to xbmc.log with the loglevel as specified.
- Author
- Stefan Agner
◆ PacketLOG()
org.xbmc.eventclient.PacketLOG.PacketLOG |
( |
byte |
loglevel, |
|
|
String |
logmessage |
|
) |
| |
|
inline |
A LOG packet tells XBMC to log the message to xbmc.log with the loglevel as specified.
- Parameters
-
loglevel | the loglevel, follows XBMC standard.
-
0 = DEBUG
-
1 = INFO
-
2 = NOTICE
-
3 = WARNING
-
4 = ERROR
-
5 = SEVERE
|
logmessage | the message to log |
The documentation for this class was generated from the following file:
- tools/EventClients/lib/java/src/org/xbmc/eventclient/PacketLOG.java