ref_send API 2.17
defensive programming in Java

org.waterken.bang
Interface Drum


public interface Drum

Something to bang on.


Method Summary
 Drum bang(int beats)
          Bangs the drum.
 Promise<java.lang.Integer> getHits()
          Gets the number of hits.
 

Method Detail

getHits

Promise<java.lang.Integer> getHits()
Gets the number of hits.


bang

Drum bang(int beats)
Bangs the drum.

Parameters:
beats - number of beats
Returns:
self reference

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.