Class RenderPlugin
- java.lang.Object
-
- com.github.moaxcp.x11client.protocol.render.RenderPlugin
-
- All Implemented Interfaces:
XProtocolPlugin
public class RenderPlugin extends java.lang.Object implements XProtocolPlugin
-
-
Constructor Summary
Constructors Constructor Description RenderPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetFirstError()bytegetFirstEvent()bytegetMajorVersion()bytegetMinorVersion()java.lang.StringgetName()XErrorreadError(byte code, X11Input in)XEventreadEvent(byte number, boolean sentEvent, X11Input in)XGenericEventreadGenericEvent(boolean sentEvent, byte extension, short sequenceNumber, int length, short eventType, X11Input in)voidsetFirstError(byte firstError)voidsetFirstEvent(byte firstEvent)booleansupportedError(byte code)booleansupportedEvent(byte number)booleansupportedRequest(XRequest request)
-
-
-
Method Detail
-
supportedRequest
public boolean supportedRequest(XRequest request)
- Specified by:
supportedRequestin interfaceXProtocolPlugin
-
supportedEvent
public boolean supportedEvent(byte number)
- Specified by:
supportedEventin interfaceXProtocolPlugin
-
supportedError
public boolean supportedError(byte code)
- Specified by:
supportedErrorin interfaceXProtocolPlugin
-
readEvent
public XEvent readEvent(byte number, boolean sentEvent, X11Input in) throws java.io.IOException
- Specified by:
readEventin interfaceXProtocolPlugin- Throws:
java.io.IOException
-
readError
public XError readError(byte code, X11Input in) throws java.io.IOException
- Specified by:
readErrorin interfaceXProtocolPlugin- Throws:
java.io.IOException
-
readGenericEvent
public XGenericEvent readGenericEvent(boolean sentEvent, byte extension, short sequenceNumber, int length, short eventType, X11Input in) throws java.io.IOException
- Specified by:
readGenericEventin interfaceXProtocolPlugin- Throws:
java.io.IOException
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceXProtocolPlugin
-
getMajorVersion
public byte getMajorVersion()
- Specified by:
getMajorVersionin interfaceXProtocolPlugin
-
getMinorVersion
public byte getMinorVersion()
- Specified by:
getMinorVersionin interfaceXProtocolPlugin
-
getFirstEvent
public byte getFirstEvent()
- Specified by:
getFirstEventin interfaceXProtocolPlugin
-
setFirstEvent
public void setFirstEvent(byte firstEvent)
- Specified by:
setFirstEventin interfaceXProtocolPlugin
-
getFirstError
public byte getFirstError()
- Specified by:
getFirstErrorin interfaceXProtocolPlugin
-
setFirstError
public void setFirstError(byte firstError)
- Specified by:
setFirstErrorin interfaceXProtocolPlugin
-
-