net.ihe.gazelle.proxy.listeners
Class SameEventListener<T>

java.lang.Object
  extended by net.ihe.gazelle.proxy.listeners.GazelleProxyEventListener<T,T>
      extended by net.ihe.gazelle.proxy.listeners.SameEventListener<T>
All Implemented Interfaces:
ProxyEventListener<T,T>
Direct Known Subclasses:
DicomEventListener, HL7EventListener, HttpEventListener, RawEventListener

public abstract class SameEventListener<T>
extends GazelleProxyEventListener<T,T>


Constructor Summary
SameEventListener()
           
 
Method Summary
 void onRequest(Timestamp timeStamp, T request, String requesterIp, int requesterPort, int proxyPort, String responderIp, int responderPort, int requestChannelId, int responseChannelId)
           
 void onResponse(Timestamp timeStamp, T response, String requesterIp, int requesterPort, int proxyPort, String responderIp, int responderPort, int requestChannelId, int responseChannelId)
           
protected abstract  void saveMessage(Timestamp timeStamp, T message, String requesterIp, int requesterPort, int proxyPort, String responderIp, int responderPort, int requestChannelId, int responseChannelId, ProxySide side)
           
 
Methods inherited from class net.ihe.gazelle.proxy.listeners.GazelleProxyEventListener
processMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SameEventListener

public SameEventListener()
Method Detail

saveMessage

protected abstract void saveMessage(Timestamp timeStamp,
                                    T message,
                                    String requesterIp,
                                    int requesterPort,
                                    int proxyPort,
                                    String responderIp,
                                    int responderPort,
                                    int requestChannelId,
                                    int responseChannelId,
                                    ProxySide side)

onRequest

public void onRequest(Timestamp timeStamp,
                      T request,
                      String requesterIp,
                      int requesterPort,
                      int proxyPort,
                      String responderIp,
                      int responderPort,
                      int requestChannelId,
                      int responseChannelId)

onResponse

public void onResponse(Timestamp timeStamp,
                       T response,
                       String requesterIp,
                       int requesterPort,
                       int proxyPort,
                       String responderIp,
                       int responderPort,
                       int requestChannelId,
                       int responseChannelId)


Copyright © 2012 JBoss. All Rights Reserved.