All Packages Class Hierarchy This Package Previous Next Index
Interface bamboo.pipe.BambooPipe
- public interface BambooPipe
- extends Remote
BambooPipe is the main remote interface for the BambooPipe RMI server.
Both consumers and producers will login through this interface.
- See Also:
- BambooPipeImpl
-
consumerLogin(String, String, String, ConsumerNotify, boolean)
- Consumer login method.
-
producerLogin(String, String, String, ProducerNotify, boolean)
- Producer login method.
consumerLogin
public abstract ConsumerConfig consumerLogin(String queue,
String name,
String password,
ConsumerNotify callback,
boolean overwrite) throws RemoteException, BPSecurityException
- Consumer login method. Check the consumer with specified queue and
return a consumer interface for valid consumer.
- Parameters:
- queue - the queue to log into
- name - the consumer name
- password - consumer password for the queue
- callback - callback to notify the consumer of new transactions
- Returns:
- consumer interface for consumer to access the queue.
- Throws: RemoteException
- like all remote method
- Throws: BPSecurityException
- queue invalid or wrong login/password
producerLogin
public abstract Producer producerLogin(String queue,
String name,
String passowrd,
ProducerNotify callback,
boolean overwrite) throws RemoteException, BPSecurityException
- Producer login method. Check the producer with specified queue and
return a producer interface for valid producer.
- Parameters:
- queue - the queue to log into
- name - the producer name
- password - producer password for the queue
- callback - callback to notify the producer of transaction status.
- Returns:
- producer interface for producer to access the queue.
- Throws: RemoteException
- like all remote method
- Throws: BPSecurityException
- queue invalid or wrong login/password
All Packages Class Hierarchy This Package Previous Next Index