struct XErrorEvent {
int type;
Display * display;
XID resourceid;
unsigned long serial;
unsigned char error_code;
unsigned char request_code;
unsigned char minor_code;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XErrorEvent.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DISPLAY
The struct member offsets. |
| public static final int | ERROR_CODE
The struct member offsets. |
| public static final int | MINOR_CODE
The struct member offsets. |
| public static final int | REQUEST_CODE
The struct member offsets. |
| public static final int | RESOURCEID
The struct member offsets. |
| public static final int | SERIAL
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XErrorEvent(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XErrorEvent | |
| public static XErrorEvent. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XErrorEvent | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XErrorEvent. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XErrorEvent | |
| public static XErrorEvent | |
| public static XErrorEvent. | |
| public static XErrorEvent. | |
| protected XErrorEvent | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XErrorEvent | |
| public static XErrorEvent | |
| public static XErrorEvent. | create(int
the buffer capacity capacity)Returns a new |
| public static XErrorEvent. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XErrorEvent | |
| public static XErrorEvent. | |
| public long | |
| public XErrorEvent | |
| public byte | |
| public XErrorEvent | |
| public static XErrorEvent | |
| public static XErrorEvent. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XErrorEvent | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XErrorEvent. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XErrorEvent | |
| public static XErrorEvent | |
| public static XErrorEvent. | |
| public static XErrorEvent. | |
| public byte | |
| public XErrorEvent | |
| public static long | |
| public static void | |
| public static byte | |
| public static void | |
| public static byte | |
| public static void | |
| public static byte | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public byte | |
| public XErrorEvent | |
| public long | |
| public XErrorEvent | |
| public long | |
| public XErrorEvent | |
| public XErrorEvent | set(int type, long display, long resourceid, long serial, byte error_code, byte request_code, byte minor_code)
Initializes this struct with the specified values. |
| public XErrorEvent | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XErrorEvent | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DISPLAY | back to summary |
|---|---|
| public static final int DISPLAY The struct member offsets. | |
| ERROR_CODE | back to summary |
|---|---|
| public static final int ERROR_CODE The struct member offsets. | |
| MINOR_CODE | back to summary |
|---|---|
| public static final int MINOR_CODE The struct member offsets. | |
| REQUEST_CODE | back to summary |
|---|---|
| public static final int REQUEST_CODE The struct member offsets. | |
| RESOURCEID | back to summary |
|---|---|
| public static final int RESOURCEID The struct member offsets. | |
| SERIAL | back to summary |
|---|---|
| public static final int SERIAL The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XErrorEvent | back to summary |
|---|---|
| protected XErrorEvent(long address, ByteBuffer container) | |
| XErrorEvent | back to summary |
|---|---|
| public XErrorEvent(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XErrorEvent calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XErrorEvent. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XErrorEvent calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XErrorEvent. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static XErrorEvent callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static XErrorEvent callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static XErrorEvent. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static XErrorEvent. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected XErrorEvent create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XErrorEvent create() Returns a new | |
| create | back to summary |
|---|---|
| public static XErrorEvent create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XErrorEvent. Returns a new
| |
| create | back to summary |
|---|---|
| public static XErrorEvent. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XErrorEvent createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XErrorEvent. Like
| |
| display | back to summary |
|---|---|
| public long display() display the event was read from
| |
| display | back to summary |
|---|---|
| public XErrorEvent display(long value) Sets the specified value to the | |
| error_code | back to summary |
|---|---|
| public byte error_code() error code of failed request
| |
| error_code | back to summary |
|---|---|
| public XErrorEvent error_code(byte value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static XErrorEvent malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XErrorEvent. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XErrorEvent malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XErrorEvent. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static XErrorEvent mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static XErrorEvent mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static XErrorEvent. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static XErrorEvent. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| minor_code | back to summary |
|---|---|
| public byte minor_code() minor op-code of failed request
| |
| minor_code | back to summary |
|---|---|
| public XErrorEvent minor_code(byte value) Sets the specified value to the | |
| ndisplay | back to summary |
|---|---|
| public static long ndisplay(long struct) Unsafe version of | |
| ndisplay | back to summary |
|---|---|
| public static void ndisplay(long struct, long value) Unsafe version of | |
| nerror_code | back to summary |
|---|---|
| public static byte nerror_code(long struct) Unsafe version of | |
| nerror_code | back to summary |
|---|---|
| public static void nerror_code(long struct, byte value) Unsafe version of | |
| nminor_code | back to summary |
|---|---|
| public static byte nminor_code(long struct) Unsafe version of | |
| nminor_code | back to summary |
|---|---|
| public static void nminor_code(long struct, byte value) Unsafe version of | |
| nrequest_code | back to summary |
|---|---|
| public static byte nrequest_code(long struct) Unsafe version of | |
| nrequest_code | back to summary |
|---|---|
| public static void nrequest_code(long struct, byte value) Unsafe version of | |
| nresourceid | back to summary |
|---|---|
| public static long nresourceid(long struct) Unsafe version of | |
| nresourceid | back to summary |
|---|---|
| public static void nresourceid(long struct, long value) Unsafe version of | |
| nserial | back to summary |
|---|---|
| public static long nserial(long struct) Unsafe version of | |
| nserial | back to summary |
|---|---|
| public static void nserial(long struct, long value) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static void ntype(long struct, int value) Unsafe version of | |
| request_code | back to summary |
|---|---|
| public byte request_code() major op-code of failed request
| |
| request_code | back to summary |
|---|---|
| public XErrorEvent request_code(byte value) Sets the specified value to the | |
| resourceid | back to summary |
|---|---|
| public long resourceid() resource id
| |
| resourceid | back to summary |
|---|---|
| public XErrorEvent resourceid(long value) Sets the specified value to the | |
| serial | back to summary |
|---|---|
| public long serial() serial number of failed request
| |
| serial | back to summary |
|---|---|
| public XErrorEvent serial(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public XErrorEvent set(int type, long display, long resourceid, long serial, byte error_code, byte request_code, byte minor_code) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XErrorEvent set(XErrorEvent src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XErrorEvent type(int value) Sets the specified value to the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
XErrorEvent structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XErrorEvent |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public XErrorEvent. | |
| public byte | |
| public XErrorEvent. | |
| protected XErrorEvent | |
| public byte | |
| public XErrorEvent. | |
| public byte | |
| public XErrorEvent. | |
| public long | |
| public XErrorEvent. | |
| protected XErrorEvent. | |
| public long | |
| public XErrorEvent. | |
| public int | |
| public XErrorEvent. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XErrorEvent ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| display | back to summary |
|---|---|
public long display()
| |
| display | back to summary |
|---|---|
| public XErrorEvent. Sets the specified value to the | |
| error_code | back to summary |
|---|---|
public byte error_code()
| |
| error_code | back to summary |
|---|---|
| public XErrorEvent. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected XErrorEvent getElementFactory() Implements abstract org.
| |
| minor_code | back to summary |
|---|---|
public byte minor_code()
| |
| minor_code | back to summary |
|---|---|
| public XErrorEvent. Sets the specified value to the | |
| request_code | back to summary |
|---|---|
public byte request_code()
| |
| request_code | back to summary |
|---|---|
| public XErrorEvent. Sets the specified value to the | |
| resourceid | back to summary |
|---|---|
public long resourceid()
| |
| resourceid | back to summary |
|---|---|
| public XErrorEvent. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XErrorEvent. Implements abstract org.
| |
| serial | back to summary |
|---|---|
public long serial()
| |
| serial | back to summary |
|---|---|
| public XErrorEvent. Sets the specified value to the | |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XErrorEvent. Sets the specified value to the | |