ucr.core
Class OriginateTable

java.lang.Object
  extended byucr.core.OriginateTable

class OriginateTable
extends java.lang.Object

Contains information for routing originated messages


Field Summary
private  java.util.HashMap hashMap
           
 
Constructor Summary
(package private) OriginateTable()
           
 
Method Summary
(package private)  boolean containsGUID(GUID guid)
          Check if MessageReceiver exists for guid This is equivalent to checking if we sent a message
(package private)  MessageReceiver get(GUID guid)
          Get a message receiver for a GUID
(package private)  void put(GUID guid, MessageReceiver receiver)
          Puts a GUID to MessageReceiver mapping in the table
(package private)  void remove(GUID guid)
          Removes the guide/receiver mapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hashMap

private java.util.HashMap hashMap
Constructor Detail

OriginateTable

OriginateTable()
Method Detail

put

void put(GUID guid,
         MessageReceiver receiver)
Puts a GUID to MessageReceiver mapping in the table


remove

void remove(GUID guid)
Removes the guide/receiver mapping


get

MessageReceiver get(GUID guid)
Get a message receiver for a GUID


containsGUID

boolean containsGUID(GUID guid)
Check if MessageReceiver exists for guid This is equivalent to checking if we sent a message