public class Messages extends Object
Constructor and Description |
---|
Messages() |
Modifier and Type | Method and Description |
---|---|
static int |
getGIOPMajor(byte[] buf) |
static int |
getGIOPMinor(byte[] buf) |
static int |
getMsgSize(byte[] buf) |
static int |
getMsgType(byte[] buf) |
static int |
getRequestId(byte[] buf)
directly extract request ID from a buffer
|
static boolean |
isLittleEndian(byte[] buf) |
static boolean |
matchGIOPMagic(byte[] buf) |
static boolean |
moreFragmentsFollow(byte[] buf) |
static int |
readULong(byte[] buf,
int pos,
boolean little_endian) |
static boolean |
responseExpected(byte flags) |
static byte |
responseFlags(boolean response_expected) |
static void |
setMsgSize(byte[] buf,
int size) |
public static int getRequestId(byte[] buf)
public static final int getMsgSize(byte[] buf)
public static final void setMsgSize(byte[] buf, int size)
public static final int readULong(byte[] buf, int pos, boolean little_endian)
public static final boolean matchGIOPMagic(byte[] buf)
public static final boolean isLittleEndian(byte[] buf)
public static final boolean moreFragmentsFollow(byte[] buf)
public static final int getMsgType(byte[] buf)
public static final int getGIOPMajor(byte[] buf)
public static final int getGIOPMinor(byte[] buf)
public static final boolean responseExpected(byte flags)
public static final byte responseFlags(boolean response_expected)
Copyright © 2017 JacORB. All rights reserved.