1 31 package org.objectweb.proactive.core.body.request; 32 33 import org.objectweb.proactive.Body; 34 import org.objectweb.proactive.core.body.UniversalBody; 35 import org.objectweb.proactive.ext.security.RenegotiateSessionException; 36 37 38 public class RequestReceiverForwarder implements RequestReceiver { 39 private UniversalBody remoteBody; 40 41 public RequestReceiverForwarder(UniversalBody b) { 42 this.remoteBody = b; 43 } 44 45 46 public void receiveRequest(Request request, Body bodyReceiver) throws java.io.IOException , RenegotiateSessionException { 47 request.send(remoteBody); 48 } 49 50 public void setImmediateService(String methodName) throws java.io.IOException { 51 remoteBody.setImmediateService(methodName); 52 } 53 } 54 | Popular Tags |