Package org.eclipse.ecf.core.sharedobject.util

Examples of org.eclipse.ecf.core.sharedobject.util.IQueueEnqueue.enqueue()


  }

  protected void fireEvent(ISharedObjectEvent event) throws QueueException {
    for (Enumeration e = receiverQueues.elements(); e.hasMoreElements();) {
      IQueueEnqueue queue = (IQueueEnqueue) e.nextElement();
      queue.enqueue(event);
    }
  }

  protected void fireEvents(ISharedObjectEvent[] event) throws QueueException {
    for (Enumeration e = receiverQueues.elements(); e.hasMoreElements();) {
View Full Code Here


  protected void fireEvents(ISharedObjectEvent[] event) throws QueueException {
    for (Enumeration e = receiverQueues.elements(); e.hasMoreElements();) {
      IQueueEnqueue queue = (IQueueEnqueue) e.nextElement();
      if (queue != null) {
        queue.enqueue(event);
      }
    }
  }

  /*
 
View Full Code Here

    ISharedObjectContext context = getContext();
    if (context == null)
      return;
    IQueueEnqueue queue = context.getQueue();
    try {
      queue.enqueue(new SharedObjectMsgEvent(getID(), getContext().getLocalContainerID(), msg));
    } catch (QueueException e) {
      traceCatching("sendSharedObjectMsgToSelf", e); //$NON-NLS-1$
      log(DESTROYREMOTE_CODE, "sendSharedObjectMsgToSelf", e); //$NON-NLS-1$
    }
  }
View Full Code Here

  }

  protected void sendSelf(SharedObjectMsg msg) {
    IQueueEnqueue queue = getContext().getQueue();
    try {
      queue.enqueue(new RemoteSharedObjectMsgEvent(getID(), getContext()
          .getLocalContainerID(), msg));
    } catch (QueueException e) {
      log("QueueException enqueing message to self", e); //$NON-NLS-1$
    }
  }
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.