org.jacorb.orb.giop

Class Messages

public class Messages extends Object

Version: $Id: Messages.java,v 1.19 2007/02/06 19:26:28 andre.spiegel Exp $

Author: Gerald Brose, FU Berlin 1999

Method Summary
static intgetGIOPMajor(byte[] buf)
static intgetGIOPMinor(byte[] buf)
static intgetMsgSize(byte[] buf)
static intgetMsgType(byte[] buf)
static intgetRequestId(byte[] buf)
directly extract request ID from a buffer
static booleanisLittleEndian(byte[] buf)
static booleanmatchGIOPMagic(byte[] buf)
static booleanmoreFragmentsFollow(byte[] buf)
static intreadULong(byte[] buf, int pos, boolean little_endian)
static booleanresponseExpected(byte flags)
static byteresponseFlags(boolean response_expected)

Method Detail

getGIOPMajor

public static final int getGIOPMajor(byte[] buf)

getGIOPMinor

public static final int getGIOPMinor(byte[] buf)

getMsgSize

public static final int getMsgSize(byte[] buf)

getMsgType

public static final int getMsgType(byte[] buf)

getRequestId

public static int getRequestId(byte[] buf)
directly extract request ID from a buffer

isLittleEndian

public static final boolean isLittleEndian(byte[] buf)

matchGIOPMagic

public static final boolean matchGIOPMagic(byte[] buf)

moreFragmentsFollow

public static final boolean moreFragmentsFollow(byte[] buf)

readULong

public static final int readULong(byte[] buf, int pos, boolean little_endian)

responseExpected

public static final boolean responseExpected(byte flags)

responseFlags

public static final byte responseFlags(boolean response_expected)