Package org.eclipse.ecf.provider.generic

Examples of org.eclipse.ecf.provider.generic.SOWrapper.deliverEvent()


  }

  protected void handleChatMessage(Message mess) throws IOException {
    final SOWrapper wrap = getSharedObjectWrapper(containerHelperID);
    if (wrap != null) {
      wrap.deliverEvent(new MessageEvent(mess));
    }
  }

  protected boolean verifyToIDForSharedObjectMessage(ID toID) {
    return true;
View Full Code Here


  }

  protected void handleIQMessage(IQ mess) throws IOException {
    final SOWrapper wrap = getSharedObjectWrapper(containerHelperID);
    if (wrap != null) {
      wrap.deliverEvent(new IQEvent(mess));
    }
  }

  protected void handlePresenceMessage(Presence mess) throws IOException {
    final SOWrapper wrap = getSharedObjectWrapper(containerHelperID);
View Full Code Here

  }

  protected void handlePresenceMessage(Presence mess) throws IOException {
    final SOWrapper wrap = getSharedObjectWrapper(containerHelperID);
    if (wrap != null) {
      wrap.deliverEvent(new PresenceEvent(mess));
    }
  }

  protected void handleChatMembershipEvent(String from, boolean add) {
    final SOWrapper wrap = getSharedObjectWrapper(containerHelperID);
View Full Code Here

  }

  protected void handleChatMembershipEvent(String from, boolean add) {
    final SOWrapper wrap = getSharedObjectWrapper(containerHelperID);
    if (wrap != null) {
      wrap.deliverEvent(new ChatMembershipEvent(from, add));
    }
  }

  protected void handleXMPPMessage(Packet aPacket) {
    try {
View Full Code Here

  }

  protected void deliverEvent(Event evt) {
    final SOWrapper wrap = getSharedObjectWrapper(presenceHelperID);
    if (wrap != null)
      wrap.deliverEvent(evt);
  }

  protected void handleXMPPMessage(Packet aPacket) throws IOException {
    if (!handleAsExtension(aPacket)) {
      if (aPacket instanceof IQ) {
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.