MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Manual de usuario Pagina 78

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 80
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 77
Appendix78
NetConnection information objects
The NetConnection object has the same information objects as the client-side NetConnection
object.
Application.Resource.LowMemory Warning The ActionScript engine is low on runtime memory. This
provides an opportunity for the application instance to free
some resources or take suitable action.
If the application instance runs out of memory, it is unloaded
and all users are disconnected. In this state, the server will not
invoke the Application.onDisconnect event handler or
the Application.onAppStop event handler.
Application.Shutdown Status This information object is passed to the onAppStop handler
when the application is being shut down.
Application.GC Status This information object is passed to the onAppStop event
handler when the application instance is about to be
destroyed by the server.
Code Level Meaning
NetConnection.Call.Failed Error The NetConnection.call method was not able to invoke
the server-side method or command.*
* This information object also has a description property, which is a string that provides a specific reason for
the failure.
NetConnection.Connect.AppShutdown Error The application has been shut down (for example, if the
application is out of memory resources and must shut down
to prevent the server from crashing) or the server has shut
down.
NetConnection.call.BadVersion Error The URI specified in the NetConnection.connect method
did not specify “rtmp” as the protocol. “rtmp” must be
specified when connecting to Flash Communication
Server.
NetConnection.Connect.Closed Status The connection was closed successfully.
NetConnection.Connect.Failed Error The connection attempt failed.
NetConnection.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.**
** This information object also has an application property, which contains the value that the
application.rejectConnection server-side method returns.
NetConnection.Connect.Success Status The connection attempt succeeded.
Code Level Meaning
Vista de pagina 77
1 2 ... 73 74 75 76 77 78 79 80

Comentarios a estos manuales

Sin comentarios