|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.mgcp.tx.Action
public class Action
Defines action.
| Field Summary | |
|---|---|
protected ActionListener |
listener
|
| Constructor Summary | |
|---|---|
protected |
Action()
Creates new instance of the action. |
| Method Summary | |
|---|---|
MgcpEvent |
getEvent()
Gets the event caused this action. |
void |
onException(Exception e)
(Non Java-doc.) |
void |
onTermination()
(Non Java-doc.) |
void |
rollback()
Rollback previously made changes. |
void |
setActionHandler(org.mobicents.media.server.scheduler.TaskChain handler)
Assigns action handler. |
protected void |
setEvent(MgcpEvent event)
Assigns the event caused this action. |
void |
setRollbackHandler(org.mobicents.media.server.scheduler.Task handler)
Assigns rollback handler |
void |
start(Transaction tx)
Starts action execution. |
protected Transaction |
transaction()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ActionListener listener
| Constructor Detail |
|---|
protected Action()
| Method Detail |
|---|
protected void setEvent(MgcpEvent event)
event - the object describes the eventpublic MgcpEvent getEvent()
public void setActionHandler(org.mobicents.media.server.scheduler.TaskChain handler)
handler - action handlerpublic void setRollbackHandler(org.mobicents.media.server.scheduler.Task handler)
handler - rollback handler.public void start(Transaction tx)
context - transaction contextpublic void rollback()
public void onTermination()
onTermination in interface org.mobicents.media.server.scheduler.TaskChainListenerTaskChainListener.onTermination()public void onException(Exception e)
onException in interface org.mobicents.media.server.scheduler.TaskChainListenerorg.mobicents.media.server.scheduler.TaskChainListener#onException()protected Transaction transaction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||