Examples of MessageEvent

  • jetbrains.communicator.core.transport.MessageEvent
    @author kir
  • net.gleamynode.netty.channel.MessageEvent
  • net.sourceforge.processdash.msg.MessageEvent
  • org.cspoker.common.api.chat.event.MessageEvent
  • org.directwebremoting.event.MessageEvent
    An MessageEvent is fired to a set of {@link MessageListener}s by the DWR {@link Hub}. @author Joe Walker [joe at getahead dot ltd dot uk]
  • org.eclipse.ecf.internal.provider.xmpp.events.MessageEvent
  • org.groovymud.engine.event.messages.MessageEvent
  • org.gwtoolbox.sample.ioc.client.event.MessageEvent
    @author Uri Boness
  • org.jboss.netty.channel.MessageEvent
    @author The Netty Project (netty-dev@lists.jboss.org) @author Trustin Lee (tlee@redhat.com) @version $Rev: 6 $, $Date: 2008-08-08 10:40:10 +0900 (Fri, 08 Aug 2008) $
  • org.jivesoftware.smackx.packet.MessageEvent
    Represents message events relating to the delivery, display, composition and cancellation of messages.

    There are four message events currently defined in this namespace:

    1. Offline
      Indicates that the message has been stored offline by the intended recipient's server. This event is triggered only if the intended recipient's server supports offline storage, has that support enabled, and the recipient is offline when the server receives the message for delivery.
    2. Delivered
      Indicates that the message has been delivered to the recipient. This signifies that the message has reached the recipient's XMPP client, but does not necessarily mean that the message has been displayed. This event is to be raised by the XMPP client.
    3. Displayed
      Once the message has been received by the recipient's XMPP client, it may be displayed to the user. This event indicates that the message has been displayed, and is to be raised by the XMPP client. Even if a message is displayed multiple times, this event should be raised only once.
    4. Composing
      In threaded chat conversations, this indicates that the recipient is composing a reply to a message. The event is to be raised by the recipient's XMPP client. A XMPP client is allowed to raise this event multiple times in response to the same request, providing the original event is cancelled first.
    @author Gaston Dombiak
  • org.netbeans.lib.cvsclient.event.MessageEvent
  • org.pircbotx.hooks.events.MessageEvent
  • org.rsbot.event.events.MessageEvent
    A message event.
  • robocode.MessageEvent
    A MessageEvent is sent to {@link TeamRobot#onMessageReceived(MessageEvent) onMessageReceived()} when a teammate sends a message to your robot.You can use the information contained in this event to determine what to do. @author Mathew A. Nelson (original)
  • rocks.xmpp.core.stanza.MessageEvent
    A message event is fired whenever a message is received or sent. @author Christian Schudt @see MessageListener

  • Examples of it.freedomotic.events.MessageEvent

                            String info =
                                    "Executing automation '" + reaction.toString() + "' takes "
                                    + (System.currentTimeMillis() - event.getCreation()) + "ms.";
                            LOG.info(info);

                            MessageEvent message = new MessageEvent(null, info);
                            message.setType("callout"); //display as callout on frontends
                            busService.send(message);
                        }
                    }

                    if (!found) {
    View Full Code Here

    Examples of jetbrains.communicator.core.transport.MessageEvent

        EventsProcessor processor = new EventsProcessor((IDEtalkMessagesWindow) myMock.proxy(), myUserModel, localMessageDispatcher, null);
        disposeOnTearDown(processor);
      }

      public void testIncomingMessage_No_Tab_WithExpand() throws Exception {
        MessageEvent event = EventFactory.createMessageEvent(new MockTransport(), "bob", "text");

        myMock.expects(once()).method("expandToolWindow");
        myMock.expects(once()).method("newMessageAvailable").with(eq(myUserModel.createUser("bob", MockTransport.NAME)), eq(event));
        myMock.expects(once()).method("getWindow").will(returnValue(null));
    View Full Code Here

    Examples of net.gleamynode.netty.channel.MessageEvent

            if (!(evt instanceof MessageEvent)) {
                context.sendDownstream(evt);
                return;
            }

            MessageEvent e = (MessageEvent) evt;
            if (!(e.getMessage() instanceof ChannelBuffer)) {
                context.sendDownstream(evt);
                return;
            }

            // Don't encrypt the first write request if this handler is
            // created with startTLS flag turned on.
            if (startTls && sentFirstMessage.compareAndSet(false, true)) {
                context.sendDownstream(evt);
                return;
            }

            // Otherwise, all messages are encrypted.
            ChannelBuffer msg = (ChannelBuffer) e.getMessage();
            PendingWrite pendingWrite =
                new PendingWrite(evt.getFuture(), msg.toByteBuffer(msg.readerIndex(), msg.readableBytes()));
            synchronized (pendingUnencryptedWrites) {
                pendingUnencryptedWrites.offer(pendingWrite);
            }
    View Full Code Here

    Examples of net.gleamynode.netty.channel.MessageEvent

                                future = succeededFuture(channel);
                            } else {
                                future = pendingWrite.future;
                            }

                            MessageEvent encryptedWrite = messageEvent(channel, future, msg);
                            if (Thread.holdsLock(pendingEncryptedWrites)) {
                                pendingEncryptedWrites.offer(encryptedWrite);
                            } else {
                                synchronized (pendingEncryptedWrites) {
                                    pendingEncryptedWrites.offer(encryptedWrite);
    View Full Code Here

    Examples of net.gleamynode.netty.channel.MessageEvent

            if (Thread.holdsLock(pendingEncryptedWrites)) {
                return;
            }

            synchronized (pendingEncryptedWrites) {
                MessageEvent e;
                while ((e = pendingEncryptedWrites.poll()) != null) {
                    ctx.sendDownstream(e);
                }
            }
        }
    View Full Code Here

    Examples of net.gleamynode.netty.channel.MessageEvent

                case INTEREST_OPS:
                    NioWorker.setInterestOps(channel, future, ((Integer) value).intValue());
                    break;
                }
            } else if (e instanceof MessageEvent) {
                MessageEvent event = (MessageEvent) e;
                NioSocketChannel channel = (NioSocketChannel) event.getChannel();
                channel.writeBuffer.offer(event);
                NioWorker.write(channel);
            }
        }
    View Full Code Here

    Examples of net.gleamynode.netty.channel.MessageEvent

                case INTEREST_OPS:
                    NioWorker.setInterestOps(channel, future, ((Integer) value).intValue());
                    break;
                }
            } else if (e instanceof MessageEvent) {
                MessageEvent event = (MessageEvent) e;
                NioSocketChannel channel = (NioSocketChannel) event.getChannel();
                channel.writeBuffer.offer(event);
                NioWorker.write(channel);
            }
        }
    View Full Code Here

    Examples of net.sourceforge.processdash.msg.MessageEvent

            // Now, find all of the messages in the document
            NodeList messages = doc.getElementsByTagName(MESSAGE_TAG);
            if (messages != null) {
                for (int i = 0; i < messages.getLength(); i++) {
                    Element msg = (Element) messages.item(i);
                    MessageEvent msgEvent = new MessageEvent(msg);

                    // Register a task to dispatch each message later on the
                    // background thread.  (Message handling logic is defined
                    // by third parties, and we have no guarantee that it will
                    // finish in a timely manner.  We can't risk hanging the
    View Full Code Here

    Examples of org.cspoker.common.api.chat.event.MessageEvent

       *
       * @param event The {@link HoldemTableEvent} to generate and display a
       *            dealer message for
       */
      public void showDealerMessage(HoldemTableEvent event) {
        onMessage(new MessageEvent(new Dealer(), event.toString()));
      }
    View Full Code Here

    Examples of org.directwebremoting.event.MessageEvent

        {
            WebContext webContext = WebContextFactory.get();
            ConverterManager converterManager = webContext.getContainer().getBean(ConverterManager.class);
            Hub hub = HubFactory.get();

            MessageEvent event = new DefaultMessageEvent(hub, converterManager, data);
            hub.publish(topic, event);
        }
    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.