Package net.jini.core.event

Examples of net.jini.core.event.RemoteEventListener


    public void enableDelivery(final Uuid uuid, final RemoteEventListener remoteEventListener)
        throws UnknownEventCollectorRegistration, IOException {
        if (remoteEventListener == null) {
            disableDelivery(uuid);
        } else {
            RemoteEventListener preparedListener = (RemoteEventListener) listenerPreparer.prepareProxy(remoteEventListener);
            if (logger.isTraceEnabled()) {
                logger.trace("prepared listener: {}", preparedListener);
            }
            RegisteredNotification registeredNotification = registrations.get(uuid);
            if(registeredNotification!=null) {
View Full Code Here


        this.registrationID = registrationID;
    }

    public void restore(ProxyPreparer preparer) throws ClassNotFoundException, IOException {
        if(marshalledEventListener!=null) {
            RemoteEventListener unprepared = marshalledEventListener.get();
            eventListener = (RemoteEventListener)preparer.prepareProxy(unprepared);
        }
    }
View Full Code Here

TOP

Related Classes of net.jini.core.event.RemoteEventListener

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.