public interface WlDisplayEvents
The core global object. This is a special singleton object. It is used for internal Wayland protocol features.
| Modifier and Type | Field and Description |
|---|---|
static int |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteId(WlDisplayProxy emitter,
int id)
acknowledge object ID deletion
|
void |
error(WlDisplayProxy emitter,
Proxy objectId,
int code,
String message)
fatal error event
|
static final int VERSION
void error(WlDisplayProxy emitter, @Nonnull Proxy objectId, int code, @Nonnull String message)
The error event is sent out when a fatal (non-recoverable) error has occurred. The object_id argument is the object where the error occurred, most often in response to a request to that object. The code identifies the error and is defined by the object interface. As such, each interface defines its own set of error codes. The message is a brief description of the error, for (debugging) convenience.
emitter - The protocol object that emitted the event.objectId - object where the error occurredcode - error codemessage - error descriptionvoid deleteId(WlDisplayProxy emitter, int id)
This event is used internally by the object ID management logic. When a client deletes an object, the server will send this event to acknowledge that it has seen the delete request. When the client receives this event, it will know that it can safely reuse the object ID.
emitter - The protocol object that emitted the event.id - deleted object IDCopyright © 2016. All rights reserved.