Package ch.ethz.iks.r_osgi.messages

Examples of ch.ethz.iks.r_osgi.messages.RequestServiceMessage


    if (networkChannel == null) {
      throw new RemoteOSGiException("Channel is closed."); //$NON-NLS-1$
    }

    // build the RequestServiceMessage
    final RequestServiceMessage req = new RequestServiceMessage();
    req.setServiceID(ref.getURI().getFragment());

    // send the RequestServiceMessage and get a DeliverServiceMessage in
    // return. The DeliverServiceMessage contains a minimal description of
    // the resources
    // of a proxy bundle. This is the service interface plus type injections
View Full Code Here


      populateLease(lease, RemoteOSGiServiceImpl.getServices(),
          RemoteOSGiServiceImpl.getTopics());
      return lease;
    }
    case RemoteOSGiMessage.REQUEST_SERVICE: {
      final RequestServiceMessage reqSrv = (RequestServiceMessage) msg;
      final String serviceID = reqSrv.getServiceID();

      final RemoteServiceRegistration reg = getServiceRegistration(serviceID);

      final DeliverServiceMessage m = reg.getDeliverServiceMessage();
      m.setXID(reqSrv.getXID());
      m.setServiceID(reqSrv.getServiceID());
      return m;
    }
    case RemoteOSGiMessage.LEASE_UPDATE: {
      final LeaseUpdateMessage suMsg = (LeaseUpdateMessage) msg;
View Full Code Here

TOP

Related Classes of ch.ethz.iks.r_osgi.messages.RequestServiceMessage

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.