Package de.novanic.eventservice.client.event

Examples of de.novanic.eventservice.client.event.RemoteEventServiceFactory$RemoteEventServiceFactoryHolder


    public ConversationControl(ConversationMainPanel aConversationMainPanel) {
        myConversationMainPanel = aConversationMainPanel;

        myConversationService = (ConversationServiceAsync)mapService(GWT.create(ConversationService.class), "conversationport");

        final RemoteEventServiceFactory theRemoteEventHandlerFactory = RemoteEventServiceFactory.getInstance();
        myRemoteEventService = theRemoteEventHandlerFactory.getRemoteEventService();

        theRemoteEventHandlerFactory.requestClientHandler(new DefaultAsyncCallback<ClientHandler>() {
            public void onSuccess(ClientHandler aClientHandler) {
                //create an event execution service (that is only necessary when user-specific events or user-specific EventFilters
                // must dynamically changeable at the server-side).
                theRemoteEventHandlerFactory.registerClientSpecificHandler((ServiceDefTarget)myConversationService, aClientHandler);

                //custom logic for the UI control
                initUILogic();
            }
        });
View Full Code Here

TOP

Related Classes of de.novanic.eventservice.client.event.RemoteEventServiceFactory$RemoteEventServiceFactoryHolder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.