public ErrorResponseMessage(UUID session, UUID request, byte flag, String message) { super( RexProMessage.CURRENT_VERSION, MessageType.ERROR, flag, BitWorks.convertUUIDToByteArray(session), BitWorks.convertUUIDToByteArray(request), message.getBytes()); }
public javax.script.Bindings getBindings() throws IOException, ClassNotFoundException { final ByteBuffer buffer = ByteBuffer.wrap(this.Bindings); final byte[] theRest = new byte[buffer.remaining()]; buffer.get(theRest); return BitWorks.convertBytesToBindings(theRest); }
public void setRequestAsUUID(final UUID request) { this.Request = BitWorks.convertUUIDToByteArray(request); }
public UUID requestAsUUID() { return BitWorks.convertByteArrayToUUID(this.Request); }
public void setSessionAsUUID(final UUID session) { this.Session = BitWorks.convertUUIDToByteArray(session); }
public UUID sessionAsUUID() { return BitWorks.convertByteArrayToUUID(this.Session); }