Class QueryVersionReply
- java.lang.Object
-
- com.github.moaxcp.x11client.protocol.shape.QueryVersionReply
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryVersionReply.QueryVersionReplyBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryVersionReply.QueryVersionReplyBuilderbuilder()booleanequals(java.lang.Object o)shortgetMajorVersion()shortgetMinorVersion()shortgetSequenceNumber()intgetSize()length of object expressed in units of 4 bytesinthashCode()static QueryVersionReplyreadQueryVersionReply(byte pad, short sequenceNumber, X11Input in)java.lang.StringtoString()voidwrite(X11Output out)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.moaxcp.x11client.protocol.XReply
getLength, getResponseCode
-
-
-
-
Method Detail
-
readQueryVersionReply
public static QueryVersionReply readQueryVersionReply(byte pad, short sequenceNumber, X11Input in) throws java.io.IOException
- Throws:
java.io.IOException
-
write
public void write(X11Output out) throws java.io.IOException
-
getSize
public int getSize()
Description copied from interface:XObjectlength of object expressed in units of 4 bytes
-
builder
public static QueryVersionReply.QueryVersionReplyBuilder builder()
-
getSequenceNumber
public short getSequenceNumber()
- Specified by:
getSequenceNumberin interfaceXResponse
-
getMajorVersion
public short getMajorVersion()
-
getMinorVersion
public short getMinorVersion()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-