com.antiaction.mayhem.core
Interface IObjectBroker

All Known Implementing Classes:
ObjectBroker

public interface IObjectBroker

ObjectBroker Interface.

Version:
1.00
Author:
Nicholas Clarke

Method Summary
 boolean init(java.util.HashMap props)
          Initialize object with specified properties.
 void insert(java.lang.Object obj)
           
 java.lang.Object remove()
          Returns an object from the queue or blocks until one arrives.
 java.lang.Object remove(long timeout)
          Returns an object from the queue or blocks until one arrives or the call is timed out.
 

Method Detail

init

boolean init(java.util.HashMap props)
Initialize object with specified properties.

Parameters:
props - init properties.

insert

void insert(java.lang.Object obj)

remove

java.lang.Object remove()
Returns an object from the queue or blocks until one arrives.

Returns:
object from the queue to be processed.
See Also:
remove(long)

remove

java.lang.Object remove(long timeout)
Returns an object from the queue or blocks until one arrives or the call is timed out.

Returns:
object from the queue to be processed.
See Also:
remove()


Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.