Prev | Current Page 792 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


The haXe Remoting API can be limited to support only certain versions of Flash because of limitations in
the underlying APIs.
The package that contains the Remoting - related features is haxe.remoting . Table 15 - 1 describes all
possible ways of communication in a local connection using the Remoting API. You will see that not
all the possible combinations are covered. This is because some of them are not really useful in the
development process and they have not been implemented. All the classes described are part of the
haxe.remoting package.
Table 15 - 2 shows the possible ways of communication in a remote connection using an HTTP or a socket
connection.
Table 15-1
Client Platform Server Platform Static Class/Method to Create the Connection Async
Flash Flash FlashJsConnection.flashConnect()//
goes through JavaScript
Yes
Flash Flash LocalConnection.connect() Yes
Flash JavaScript Connection.jsConnect() No
JavaScript Flash Connection.flashConnect() No
Part II: Server Side, JavaScript, and Flash: Oh My!
428
Once they have been created a Connection object or an AsyncConnection object always behave the
same.


Pages:
780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804