Examples of Subscriptions


Examples of com.netflix.recipes.rss.Subscriptions

        Stopwatch stopwatch = getRSSStatsTimer.start();

        try {
            getRSSRequestCounter.increment();

            Subscriptions subscriptions = RSSManager.getInstance().getSubscriptions(user);
            return Response.ok(subscriptions).build();
        } catch (Exception e) {
            logger.error("Exception occurred when fetching subscriptions", e);
            getRSSErrorCounter.increment();
            return Response.serverError().build();
View Full Code Here

Examples of org.apache.juddi.datatype.response.Subscriptions

      // TODO (UDDI v3) Implement save_subscription business logic.
     
      dataStore.commit();

      Subscriptions subs = new Subscriptions();
      subs.setGeneric(generic);
      subs.setOperator(Config.getOperator());
      return subs;
    }
    catch(InvalidKeyPassedException ex)
    {
      try { dataStore.rollback(); } catch(Exception e) { }
View Full Code Here

Examples of org.apache.juddi.datatype.response.Subscriptions

      // TODO (UDDI v3) Implement get_subscriptions business logic.
     
      dataStore.commit();

      // create a new PublisherDetail and stuff the new tModelVector into it.
      Subscriptions subs = new Subscriptions();
      subs.setGeneric(generic);
      subs.setOperator(Config.getOperator());
      return subs;
    }
    catch(InvalidKeyPassedException ex)
    {
      try { dataStore.rollback(); } catch(Exception e) { }
View Full Code Here

Examples of org.astrogrid.samp.Subscriptions

     * @param client target client
     * @param format a format string, such as spectrum/fits or spectrum/votable
     * @return sender
     */
    private Sender getSender(Client client, String format) {
        Subscriptions subs = client.getSubscriptions();
        for (Sender sender : SENDERS) {
            if (subs.isSubscribed(sender.getMtype())
                    && (format == null || format.equals(sender.getFormat()))) {
                return sender;
            }
        }
        return null;
View Full Code Here

Examples of org.astrogrid.samp.Subscriptions

     *
     * @param client target client
     * @return sender
     */
    private static Sender getSender(Client client) {
        Subscriptions subs = client.getSubscriptions();
        for (Sender sender : SENDERS) {
            if (subs.isSubscribed(sender.getMtype())) {
                return sender;
            }
        }
        return null;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.