Information Objects - affluxis/csjava GitHub Wiki
The Af2NetConnection, Af2NetStream, and Af2SharedObject objects provide an onStatus/onSend/onSync event handlers that use an information object for providing information, status, or error messages. To respond to this event handler, you must create a function to process the information object, and you must know the format and contents of the information object returned.
Af2NetConnection information objects
Af2NetConnection.Connect.Closed, status, The connection was successfully closed.
Af2NetConnection.Connect.InvalidApp, error, The application name specified during the connection attempt was not found on the server.
NetConnection.Connect.Rejected, error, The client does not have permission to connect to the application, or the application expected different parameters from those that were passed, or the application specifically rejected the client. This information object also has an application property, which contains the value returned by the Af2Application.rejectConnection server-side method.
Af2NetConnection.Connect.Success, status, The connection attempt succeeded.
Af2NetConnection/Af2SharedObject result objects
method - a RMI method name that was issued either by the client or the server.
parameters - any optional parameters sent along with the invocation.
Af2NetStream information objects
Af2NetStream.Pause.Notify, status, The subscriber has paused playback.
Af2NetStream.Play.Failed, error, An error has occurred in playback for a reason other than those listed elsewhere in this table, such as the subscriber not having read access.
Af2NetStream.Play.Start, status, Playback has started.
Af2NetStream.Play.Stop, status, Playback has stopped.
Af2NetStream.Play.StreamNotFound, error, The client tried to play a live stream that does not exist.
Af2NetStream.Publish.BadName, error, The client tried to publish a stream that is already being published by someone else.
Af2NetStream.Publish.Start, status, Publishing has started.
Af2NetStream.Unpublish.Success, status, Publishing has stopped.