org.jdiameter.server.impl.agent
Class ProxyAgentImpl

java.lang.Object
  extended by org.jdiameter.server.impl.agent.AgentImpl
      extended by org.jdiameter.server.impl.agent.ProxyAgentImpl
All Implemented Interfaces:
EventListener<Request,Answer>, IAgent, IProxy

public class ProxyAgentImpl
extends AgentImpl
implements IProxy

Author:
babass

Field Summary
 
Fields inherited from class org.jdiameter.server.impl.agent.AgentImpl
container, realmTable
 
Constructor Summary
ProxyAgentImpl(IContainer container, IRealmTable realmTable)
           
 
Method Summary
 Answer processRequest(IRequest request, IRealm matchedRealm)
          This method use for process new network requests.
 void receivedSuccessMessage(Request request, Answer answer)
           
 void timeoutExpired(Request request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyAgentImpl

public ProxyAgentImpl(IContainer container,
                      IRealmTable realmTable)
Parameters:
container -
realmTable -
Method Detail

processRequest

public Answer processRequest(IRequest request,
                             IRealm matchedRealm)
Description copied from interface: IAgent
This method use for process new network requests.

Specified by:
processRequest in interface IAgent
Parameters:
request - request message
Returns:
answer immediate answer messsage. Method may return null and an Answer will be sent later on

receivedSuccessMessage

public void receivedSuccessMessage(Request request,
                                   Answer answer)
Specified by:
receivedSuccessMessage in interface EventListener<Request,Answer>

timeoutExpired

public void timeoutExpired(Request request)
Specified by:
timeoutExpired in interface EventListener<Request,Answer>


Copyright © 2014. All Rights Reserved.