ref_send API 2.17
defensive programming in Java

org.waterken.trace
Class Verbose

java.lang.Object
  extended by org.joe_e.Struct
      extended by org.waterken.trace.Verbose
All Implemented Interfaces:
java.io.Serializable, Selfless, Receiver<Event>

public final class Verbose
extends Struct
implements Receiver<Event>, java.io.Serializable

Prints comments to an output stream.

See Also:
Serialized Form

Constructor Summary
Verbose(java.io.PrintStream out, Receiver<Event> next)
          Constructs an instance.
 
Method Summary
 void apply(Event value)
          Receives a notification.
 
Methods inherited from class org.joe_e.Struct
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Verbose

public Verbose(java.io.PrintStream out,
               Receiver<Event> next)
Constructs an instance.

Parameters:
out - output stream
next - next event receiver
Method Detail

apply

public void apply(Event value)
Description copied from interface: Receiver
Receives a notification.

Specified by:
apply in interface Receiver<Event>
Parameters:
value - any additional details about the notification

ref_send API 2.17
defensive programming in Java

Submit a bug or feature, or get help

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