1 24 25 package org.objectweb.dream.protocol.utobcast; 26 27 import java.util.Map ; 28 29 import org.objectweb.dream.AbstractComponent; 30 import org.objectweb.dream.Push; 31 import org.objectweb.dream.PushException; 32 import org.objectweb.dream.message.Message; 33 import org.objectweb.fractal.api.NoSuchInterfaceException; 34 import org.objectweb.fractal.api.control.IllegalBindingException; 35 import org.objectweb.fractal.api.control.IllegalLifeCycleException; 36 37 41 public class ACKImpl extends AbstractComponent implements Push 42 { 43 44 48 52 protected ReceiveAck receiveAckItf; 53 54 58 61 public ACKImpl() 62 { 63 } 64 65 69 73 public void push(Message message, Map context) throws PushException 74 { 75 } 77 78 82 86 public void bindFc(String clientItfName, Object serverItf) 87 throws NoSuchInterfaceException, IllegalBindingException, 88 IllegalLifeCycleException 89 { 90 super.bindFc(clientItfName, serverItf); 91 if (clientItfName.equals(ReceiveAck.ITF_NAME)) 92 { 93 receiveAckItf = (ReceiveAck) serverItf; 94 } 95 96 } 97 98 101 public String [] listFc() 102 { 103 return new String []{ReceiveAck.ITF_NAME}; 104 } 105 106 } | Popular Tags |