org.jacorb.orb.giop
Class Messages

java.lang.Object
  extended byorg.jacorb.orb.giop.Messages

public class Messages
extends java.lang.Object

Version:
$Id: Messages.java,v 1.17 2003/12/18 11:15:20 nick.cross Exp $
Author:
Gerald Brose, FU Berlin 1999

Constructor Summary
Messages()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Messages

public Messages()
Method Detail

getRequestId

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


getMsgSize

public static final int getMsgSize(byte[] buf)

readULong

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

isLittleEndian

public static final boolean isLittleEndian(byte[] buf)

moreFragmentsFollow

public static final boolean moreFragmentsFollow(byte[] buf)

getMsgType

public static final int getMsgType(byte[] buf)

getGIOPMajor

public static final int getGIOPMajor(byte[] buf)

getGIOPMinor

public static final int getGIOPMinor(byte[] buf)

responseExpected

public static final boolean responseExpected(byte flags)

responseFlags

public static final byte responseFlags(boolean response_expected)