Examples of Channel


Examples of crazypants.enderio.machine.transceiver.Channel

      receiveTogglePressed();     
    }
  }

  protected void receiveTogglePressed() {
    Channel c = channelList.getSelectedElement();
    if(c != null && !transceiver.getRecieveChannels(type).contains(c)) {
      transceiver.addRecieveChanel(c);
      PacketHandler.INSTANCE.sendToServer(new PacketSendRecieveChannel(transceiver, false, true, c));
    } else {
      c = recieveChannels.getSelectedElement();
View Full Code Here

Examples of cz.podcastee.domain.entities.Channel

    private PodcastManager podcastManager;
    private Channel channel;

    @PostConstruct
    public void init() {
        channel = new Channel();
    }
View Full Code Here

Examples of de.danet.an.workflow.api.Channel

     * Test.
     */
    public void receiveMessage() throws Exception {
  ProcessDefinitionDirectory procDefDir = null;
  ProcessDirectory procDir = null;
        Channel chan = null;
  try {
      procDefDir = workflowService.processDefinitionDirectory();
      procDir = workflowService.processDirectory();
      ProcessMgr pmgr = procDefDir.processMgr
    ("chabacc", "chabacc_test_sender");
      WfProcess process
    = pmgr.createProcess(new DefaultRequester (workflowService));
      chan = workflowService.getChannel(process, "test_channel");
      WfActivity sleepAct = null;
      for (Iterator i = process.steps().iterator(); i.hasNext();) {
    sleepAct = (WfActivity)i.next ();
    if (sleepAct.name().equals("Wait")) {
        break;
    }
      }
      process.start();
      assertTrue (stateReached (sleepAct, "open.running"));
      Map pd = chan.receiveMessage();
      assertTrue ("Hello world!".equals(pd.get("message")));
      assertTrue (stateReached (process, "closed.completed"));
      procDir.removeProcess(process);
  } finally {
            workflowService.release (chan);
View Full Code Here

Examples of de.nava.informa.impl.basic.Channel

  public TestChannelObserver(String name) {
    super("TestChannelObserver", name);
  }

  public void testObserve() {
    ChannelIF channel = new Channel("Niko's log");
    SimpleChannelObserver observer = new SimpleChannelObserver();
    ((ChannelObservableIF) channel).addObserver(observer);
    assertEquals(0, channel.getItems().size());
    ItemIF item = new Item("Bongo", "Rongoo", null);
    channel.addItem(item);
    assertEquals(1, channel.getItems().size());
    assertTrue(channel.getItems().contains(item));
    assertEquals(item, observer.getMyAddedItem());
   
  }
View Full Code Here

Examples of de.nava.informa.impl.hibernate.Channel

    List<?> groups = getHibernateTemplate().find("from ChannelGroup"); //  group order by group.title");
    return groups.toArray(new ChannelGroupIF[groups.size()]);
  }

  public ChannelIF createChannel(String title, URL location) throws PersistenceManagerException {
    ChannelIF channel = new Channel(title, location);
    getHibernateTemplate().save(channel);
    return channel;
  }
View Full Code Here

Examples of de.novanic.gwteventservice.demo.conversationapp.client.conversation.Channel

        if(anEvent instanceof ConversationEvent) {
            ConversationEvent theConversationEvent = (ConversationEvent)anEvent;
            if(isGlobalEvent(theConversationEvent)) {
                return false;
            }
            Channel theChannel = theConversationEvent.getChannel();
            if(theChannel != null) {
                return !myEventChannelName.equals(theChannel.getName());
            }
        }
        return true;
    }
View Full Code Here

Examples of devplugin.Channel

          Calendar.DAY_OF_WEEK));
    } else if (mMode == MODE_EDIT_EXCLUSION) {
      String title = mExclusion.getTitle();
      String topic = mExclusion.getTopic();
      ProgramFilter filter = mExclusion.getFilter();
      Channel channel = mExclusion.getChannel();
      int timeFrom = mExclusion.getTimeLowerBound();
      int timeTo = mExclusion.getTimeUpperBound();
      int dayOfWeek = mExclusion.getDayOfWeek();
      if (title != null) {
        mTitleCb.setSelected(true);
View Full Code Here

Examples of dojox.cometd.Channel

    {
        this.bayeux = bayeux;

        // At this point BayeuxClient is fully initialized so it is safe to
        // allow other classes to see and use us.
        Channel channel = bayeux.getChannel("/dwr", true);
        channel.subscribe(client);
    }
View Full Code Here

Examples of ecks.Utility.Channel

                Logging.error("PROTOCOL", "Attempted to add a channel " + channel + " that already exists. " + cm.size() + " user(s) joined.");
                Logging.info("PROTOCOL", "Chan is: " + Channels.get(channel.toLowerCase()).toString());
                Channels.get(channel.toLowerCase()).clientmodes.putAll(cm);
            } else {
                // bursting... ignore this issue
                Channels.put(channel.toLowerCase(), new Channel(ts, channel, m, cm));
                Logging.verbose("PROTOCOL", "Channel " + channel + " is now being tracked. (OVERRIDDEN)");
            }
        } else {
            Channels.put(channel.toLowerCase(), new Channel(ts, channel, m, cm));
            Logging.verbose("PROTOCOL", "Channel " + channel + " is now being tracked.");
        }

        for (Client c : cm.keySet()) {
            c.chans.add(channel.toLowerCase());
View Full Code Here

Examples of engine.graphics.synthesis.texture.Channel

  }

  private CreateMenuItem createMenuItem_CreateFilter(String name, Class<?> c, boolean genIcon, boolean replace) {
    CreateMenuItem ret;
    if (genIcon) {
      Channel chan = null;
      try {
        chan = (Channel) c.newInstance();
      } catch (InstantiationException e) {
        e.printStackTrace();
      } catch (IllegalAccessException e) {
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.