ref_send API 1.16
defensive programming in Java

org.ref_send.promise.eventual
Interface Log

All Known Implementing Classes:
Sink

public interface Log

A log interface.


Method Summary
 void comment(java.lang.String text)
          Logs a comment.
 void got(Equatable message)
          Logs receipt of a message.
 boolean isOn()
          Will log events actually be output?
 void resolved(Equatable condition)
          Logs resolution of a condition.
 void sentIf(Equatable message, Equatable condition)
          Logs a conditional message send.
 

Method Detail

isOn

boolean isOn()
Will log events actually be output?

Returns:
true if output is created, else false

comment

void comment(java.lang.String text)
Logs a comment.

Parameters:
text - comment text

sentIf

void sentIf(Equatable message,
            Equatable condition)
Logs a conditional message send.

Parameters:
message - message identifier
condition - condition identifier

resolved

void resolved(Equatable condition)
Logs resolution of a condition.

Parameters:
condition - condition identifier

got

void got(Equatable message)
Logs receipt of a message.

Parameters:
message - message identifier

ref_send API 1.16
defensive programming in Java

Submit a bug or feature, or get help

Copyright 1998-2007 Waterken Inc. under the terms of the MIT X license.