com.github.moaxcp.x11client.protocol.XRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of x11-client Show documentation
Show all versions of x11-client Show documentation
An x11 client implemented in java
package com.github.moaxcp.x11client.protocol;
import java.io.IOException;
public interface XRequest extends XObject {
byte getOpCode();
default int getLength() {
if(getSize() % 4 == 0) {
return getSize() / 4;
}
return (getSize() + 4 - getSize() % 4) / 4;
}
void write(byte offset, X11Output out) throws IOException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy