|
ref_send API 2.17 defensive programming in Java |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ref_send.promise.Log
public class Log
A log interface.
| Constructor Summary | |
|---|---|
Log()
|
|
| Method Summary | |
|---|---|
void |
comment(java.lang.String text)
Logs a comment. |
void |
fulfilled(java.lang.String condition)
Logs fulfillment of a promise. |
void |
got(java.lang.String message,
java.lang.Class<?> concrete,
java.lang.reflect.Method method)
Logs receipt of a message. |
void |
problem(java.lang.Exception reason)
Logs an exception. |
void |
progressed(java.lang.String condition)
Logs progress towards fulfillment of a promise. |
void |
rejected(java.lang.String condition,
java.lang.Exception reason)
Logs rejection of a promise. |
void |
resolved(java.lang.String condition)
Logs resolution of a promise. |
void |
returned(java.lang.String message)
Logs sending of a return value. |
void |
sent(java.lang.String message)
Logs a message send. |
void |
sentIf(boolean pipelined,
java.lang.String message,
java.lang.String condition)
Logs a conditional message send. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Log()
| Method Detail |
|---|
public void comment(java.lang.String text)
text - comment textpublic void problem(java.lang.Exception reason)
reason - problem reason
public void got(java.lang.String message,
java.lang.Class<?> concrete,
java.lang.reflect.Method method)
message - message identifierconcrete - concrete type of invocation targetmethod - declaration of invoked methodpublic void sent(java.lang.String message)
message - sent message identifierpublic void returned(java.lang.String message)
message - return message identifier
public void sentIf(boolean pipelined,
java.lang.String message,
java.lang.String condition)
pipelined - Is the message processed at the callee's site?message - message identifiercondition - condition identifierpublic void resolved(java.lang.String condition)
condition - condition identifierpublic void fulfilled(java.lang.String condition)
condition - condition identifier
public void rejected(java.lang.String condition,
java.lang.Exception reason)
condition - condition identifierpublic void progressed(java.lang.String condition)
condition - condition identifier
|
ref_send API 2.17 defensive programming in Java |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.