return new MessageSender ((SendQueue) delegate);
return new SendMessage ((SendQueue) delegate);
  public Object getDelegate (Object delegate, Class type)   {    if (type == SendQueue.class)     {      return new MessageSender ((SendQueue) delegate);    }    else if (type == DestinationLink.class)     {      DestinationLink link = (DestinationLink) delegate;      if (link.getProtocolClass().getName().equals ("org.cougaar.core.mts.LoopbackLinkProtocol")) return null;      return new AckFrontend (link, this);    }     return null;  }