org.jacorb.orb.giop

Class Messages


public class Messages
extends java.lang.Object

Version:
$Id: Messages.java,v 1.18 2004/05/06 12:40:00 nicolas Exp $

Author:
Gerald Brose, FU Berlin 1999

Method Summary

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
moreFragmentsFollow(byte[] buf)
static int
readULong(byte[] buf, int pos, boolean little_endian)
static boolean
responseExpected(byte flags)
static byte
responseFlags(boolean response_expected)

Method Details

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)


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)