|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthings.thinger.service.actor.ActorMessage
things.thinger.service.actor.ActorDisposition
public class ActorDisposition
The actor disposition.
Version History
EPG - Initial - 12 MAY 07
| Field Summary | |
|---|---|
static int |
DISPOSITION_ACK
|
static int |
DISPOSITION_NACK
|
static int |
DISPOSITION_NONE
Dispositions. |
static int |
DISPOSITION_QUIT
|
int |
myDisposition
The parameter name. |
| Fields inherited from class things.thinger.service.actor.ActorMessage |
|---|
sequence |
| Constructor Summary | |
|---|---|
ActorDisposition(int disposition,
int seq)
Constructor. |
|
| Method Summary | |
|---|---|
void |
fail(java.lang.String message)
This will set the disposition to a NAK and throw a PuntException. |
void |
failSoft(java.lang.String message)
This will set the disposition to a NAK but will not punt. |
void |
fixType()
Fix any disposition work. |
void |
ok()
It's ok. |
void |
ok(java.lang.String message)
It's ok. |
| Methods inherited from class things.thinger.service.actor.ActorMessage |
|---|
addAttribute, addAttribute, addParamter, addParamter, getAttribute, getParameter, getType, load, save, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DISPOSITION_NONE
public static final int DISPOSITION_QUIT
public static final int DISPOSITION_ACK
public static final int DISPOSITION_NACK
public int myDisposition
| Constructor Detail |
|---|
public ActorDisposition(int disposition,
int seq)
disposition - seq - | Method Detail |
|---|
public void fixType()
throws java.lang.Throwable
java.lang.Throwable
public void fail(java.lang.String message)
throws java.lang.Throwable
message - The message.
Throwable, - but it will almost always be a PuntException
java.lang.Throwable
public void failSoft(java.lang.String message)
throws java.lang.Throwable
message - The message.
java.lang.Throwable
public void ok()
throws java.lang.Exception
java.lang.Exception
public void ok(java.lang.String message)
throws java.lang.Throwable
message - The message.
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||