1 31 package org.objectweb.proactive.ext.locationserver; 32 33 import org.objectweb.proactive.Body; 34 import org.objectweb.proactive.core.body.request.Request; 35 import org.objectweb.proactive.core.body.request.RequestReceiver; 36 import org.objectweb.proactive.core.event.MessageEventListener; 37 38 public class BouncingRequestReceiver implements RequestReceiver { 39 40 protected static java.io.IOException REUSABLE_EXCEPTION = new java.io.IOException ("Object has migrated"); 41 42 public void receiveRequest(Request r, Body bodyReceiver) throws java.io.IOException { 43 throw REUSABLE_EXCEPTION; 45 } 46 47 public void addMessageEventListener(MessageEventListener listener) { 48 } 49 50 public void removeMessageEventListener(MessageEventListener listener) { 51 } 52 53 public void setImmediateService(String methodName) { 54 } 55 56 } 57 | Popular Tags |