Joram ${version}

org.objectweb.joram.mom.proxies
Interface ProxyAgentItf

All Known Implementing Classes:
UserAgent

public interface ProxyAgentItf

The ProxyAgentItf interface defines the methods which must be provided by a proxy agent hosting a ProxyImpl instance.

See Also:
org.objectweb.joram.shared.tcp.JmsProxy, org.objectweb.joram.shared.soap.SoapProxy

Method Summary
 fr.dyade.aaa.agent.AgentId getId()
          Returns the proxy's AgentId identifier.
 void sendNot(fr.dyade.aaa.agent.AgentId to, fr.dyade.aaa.agent.Notification not)
          Sends a notification to a given agent.
 void sendToClient(int id, AbstractJmsReply reply)
          Sends an AbstractJmsReply to a given client.
 void setNoSave()
           
 void setSave()
           
 

Method Detail

getId

public fr.dyade.aaa.agent.AgentId getId()
Returns the proxy's AgentId identifier.


sendNot

public void sendNot(fr.dyade.aaa.agent.AgentId to,
                    fr.dyade.aaa.agent.Notification not)
Sends a notification to a given agent.


sendToClient

public void sendToClient(int id,
                         AbstractJmsReply reply)
Sends an AbstractJmsReply to a given client.

Parameters:
id - Identifies the context within which the sending occurs.
reply - The reply to send to the client.

setNoSave

public void setNoSave()

setSave

public void setSave()

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved