org.openorb.orb.net
Class RequestIDAllocator

java.lang.Object
  |
  +--org.openorb.orb.net.RequestIDAllocator

public class RequestIDAllocator
extends java.lang.Object

Version:
$Revision: 1.3 $ $Date: 2004/02/10 21:02:50 $
Author:
Chris Wood

Constructor Summary
RequestIDAllocator()
           
 
Method Summary
static int get_request_id()
          Get a uneque request ID for a request.
static int peek_request_id()
          Discover what the next ID will be without using it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestIDAllocator

public RequestIDAllocator()
Method Detail

get_request_id

public static int get_request_id()
Get a uneque request ID for a request.

peek_request_id

public static int peek_request_id()
Discover what the next ID will be without using it. This always returns an even value.