octoshape.osa2.listeners
Interface PushStatusListener


public interface PushStatusListener

Callback for status message from a StreamPusher.


Method Summary
 void gotPushStatus(java.lang.String status, java.lang.String description)
          The first argument will indicate the overall status and will always be one of: ok Indicating that the pushing functioning OK initializing Indicating that we are in the process of setting up the pushing.
 

Method Detail

gotPushStatus

void gotPushStatus(java.lang.String status,
                   java.lang.String description)
The first argument will indicate the overall status and will always be one of:
ok
Indicating that the pushing functioning OK
initializing
Indicating that we are in the process of setting up the pushing. This state will eventually go to either "ok", or "error".
error
Indicating that the pushing is currently not working. The second argument description string may hold more information in this case. Note that this may also be reported while we are trying to set up the pushing.
unknown
Indicating that the status can not be determined.

Note that if the StreamPusher.initialize() or OctoshapeSystem.open() has not been called, then the push status will be error.

Parameters:
status - Will be one of: "ok", "error", "unknown", or "initializing"
description - A string description which may hold information to help solve pushing problems.