Package com.j_spaces.core.client

Examples of com.j_spaces.core.client.NotifyDelegator


   */
  public NotifyDelegator addNotifyDelegatorListener(final RemoteEventListener listener,final Object template, final MarshalledObject nandback,final boolean  fifoEnabled,final long lease, final int notifyMask)
  {
    return (NotifyDelegator) execute(new JavaSpaceCallback() {
      public Object doInSpace(JavaSpace js, Transaction tx) throws RemoteException, TransactionException{
        return new NotifyDelegator((IJSpace)js, template , tx, listener, lease, nandback , fifoEnabled, notifyMask);
      }
    });
  }
View Full Code Here


   * @see {@link http://java.sun.com/products/jini/2.0/doc/api/net/jini/space/JavaSpace.html#addNotifyDelegatorListener(}
   */
  public NotifyDelegator addNotifyDelegatorListener(final JavaSpaceListener javaSpaceListener, final boolean fifoEnabled,final int notifyMask){
    return (NotifyDelegator) execute(new JavaSpaceCallback() {
      public Object doInSpace(JavaSpace js, Transaction tx) throws RemoteException, TransactionException{
        return new NotifyDelegator((IJSpace)js, javaSpaceListener.getTemplate() , tx, javaSpaceListener.getListener(), javaSpaceListener.getLease(), javaSpaceListener.getHandback(), fifoEnabled, notifyMask);

      }
    });
  }
View Full Code Here

TOP

Related Classes of com.j_spaces.core.client.NotifyDelegator

Copyright © 2018 www.massapicom. 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.