codesimian
Interface ChaosCreator


public interface ChaosCreator

I DONT KNOW IF THIS CLASS WILL BE USED. A ChaosCreator has a ChaosConsumer and calls receiveChaos(boolean[]) asap when it has chaos. Chaos is truly random bits which are consumed when sent to a ChaosConsumer.


Method Summary
 void delChaosConsumerNeedPassword(java.lang.String password)
          call setChaosConsumerAndGetPassword, do some stuff, then call this.
 java.lang.String putChaosConsumerGetPassword(ChaosConsumer consumer)
          only works if removeChaosConsumer was called and didnt throw anything, since the last call of this.
 

Method Detail

putChaosConsumerGetPassword

java.lang.String putChaosConsumerGetPassword(ChaosConsumer consumer)
                                             throws codesimian.reflect.FailedSET
only works if removeChaosConsumer was called and didnt throw anything, since the last call of this. Also works if this is the first call. Will not overwrite a ChaosConsumer. The one with the password must remove it first.

Throws:
codesimian.reflect.FailedSET

delChaosConsumerNeedPassword

void delChaosConsumerNeedPassword(java.lang.String password)
                                  throws codesimian.reflect.FailedDELETE
call setChaosConsumerAndGetPassword, do some stuff, then call this. Repeat if you want.

Throws:
codesimian.reflect.FailedDELETE