xsul.msg_box.storage.memory
Class InMemoryStorageImpl

java.lang.Object
  extended byxsul.msg_box.storage.memory.InMemoryStorageImpl
All Implemented Interfaces:
MsgBoxStorage

public class InMemoryStorageImpl
extends java.lang.Object
implements MsgBoxStorage


Constructor Summary
InMemoryStorageImpl()
           
 
Method Summary
 java.lang.String createMsgBox()
           
 void destroyMsgBox(java.lang.String key)
           
 void putMessageIntoMsgBox(java.lang.String key, java.lang.String message)
           
 java.util.List takeMessagesFromMsgBox(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryStorageImpl

public InMemoryStorageImpl()
Method Detail

createMsgBox

public java.lang.String createMsgBox()
                              throws XsulException
Specified by:
createMsgBox in interface MsgBoxStorage
Throws:
XsulException

destroyMsgBox

public void destroyMsgBox(java.lang.String key)
                   throws XsulException
Specified by:
destroyMsgBox in interface MsgBoxStorage
Throws:
XsulException

putMessageIntoMsgBox

public void putMessageIntoMsgBox(java.lang.String key,
                                 java.lang.String message)
                          throws XsulException
Specified by:
putMessageIntoMsgBox in interface MsgBoxStorage
Throws:
XsulException

takeMessagesFromMsgBox

public java.util.List takeMessagesFromMsgBox(java.lang.String key)
                                      throws XsulException
Specified by:
takeMessagesFromMsgBox in interface MsgBoxStorage
Throws:
XsulException


IU Extreme! Lab (http://www.extreme.indiana.edu)