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
 AgentId getAgentId()
          Returns the proxy's AgentId identifier.
 void sendNot(AgentId to, Notification not)
          Sends a notification to a given agent.
 void sendToClient(int id, AbstractJmsReply reply)
          Sends an AbstractJmsReply to a given client.
 

Method Detail

getAgentId

public AgentId getAgentId()
Returns the proxy's AgentId identifier.


sendNot

public void sendNot(AgentId to,
                    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.


Copyright ? 2004 Scalagent - All rights reserved