I know I can use the addEventListener method to handle one:
addEventListener(SFSEvent.CONNECTION, MyMethod)
as I would for handling a method in another class? Like...
addEventListener(SFSEvent.CONNECTION, Myclass.class)
or
addEventListener(SFSEvent.CONNECTION, MyClass.method)
You may pass another function handler to a class
For example
Then pass the target handler to A instance
If the function is a static function, You may just do it like this