All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface bamboo.pipe.Producer

public interface Producer
extends Remote
Producer remote interface. Producers interact with BambooPipe server through this interface after login.

See Also:
BambooPipe

Method Index

 o beginTrans()
Begin a send transaction.
 o commitTrans()
Commit current transaction
 o config(String, Object)
set configurable parameter for current session
 o logout()
end the login session.
 o rollbackTrans()
Rollback current transaction
 o sendObj(Object)
Send next object of the current transaction.

Methods

 o beginTrans
 public abstract void beginTrans() throws RemoteException, BPTransException
Begin a send transaction.

Throws: RemoteException
remote errors
Throws: BPTransException
transaction on-going
 o sendObj
 public abstract void sendObj(Object obj) throws RemoteException, BPTransException
Send next object of the current transaction.

Throws: RemoteException
remote errors
Throws: BPTransException
no current transaction
 o commitTrans
 public abstract void commitTrans() throws RemoteException, BPTransException
Commit current transaction

Throws: RemoteException
remote errors
Throws: BPTransException
no current transaction
 o rollbackTrans
 public abstract void rollbackTrans() throws RemoteException, BPTransException
Rollback current transaction

Throws: RemoteException
remote errors
Throws: BPTransException
no current transaction
 o config
 public abstract void config(String name,
                             Object value) throws RemoteException, BPParseException
set configurable parameter for current session

Throws: RemoteException
remote errors
Throws: BPParseException
invalid name/value
 o logout
 public abstract void logout() throws RemoteException
end the login session.

Throws: RemoteException
remote errors

All Packages  Class Hierarchy  This Package  Previous  Next  Index