Hello guys,

I am  new in flex and really required help of you guys.
I am developing one chat application using blazeds and while going
through thw BlazeDS documentation , I found one interesting snippet as
follows,

[http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?
content=messaging_7.html]

package customclasspackage;
{

    import
flex.messaging.services.messaging.adapters.MessagingAdapter;
    import flex.messaging.services.MessageService;
    import flex.messaging.messages.Message;
    import flex.messaging.Destination;

    public class SimpleCustomAdapter extends MessagingAdapter {

        public Object invoke(Message message) {
            MessageService msgService = (MessageService)service;
            msgService.pushMessageToClients(message, true);
            msgService.sendPushMessageFromPeer(message, true);
            return null;
        }
    }
}

In the following line :

              MessageService msgService = (MessageService) service;

                            what  is service in this line ?

Your help is highly appreciated.

Thanks in advance.

Regards
Khalid Chaudhary

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to