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
-
beginTrans()
- Begin a send transaction.
-
commitTrans()
- Commit current transaction
-
config(String, Object)
- set configurable parameter for current session
-
logout()
- end the login session.
-
rollbackTrans()
- Rollback current transaction
-
sendObj(Object)
- Send next object of the current transaction.
beginTrans
public abstract void beginTrans() throws RemoteException, BPTransException
- Begin a send transaction.
- Throws: RemoteException
- remote errors
- Throws: BPTransException
- transaction on-going
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
commitTrans
public abstract void commitTrans() throws RemoteException, BPTransException
- Commit current transaction
- Throws: RemoteException
- remote errors
- Throws: BPTransException
- no current transaction
rollbackTrans
public abstract void rollbackTrans() throws RemoteException, BPTransException
- Rollback current transaction
- Throws: RemoteException
- remote errors
- Throws: BPTransException
- no current transaction
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
logout
public abstract void logout() throws RemoteException
- end the login session.
- Throws: RemoteException
- remote errors
All Packages Class Hierarchy This Package Previous Next Index