org.openspml.v2.transport
Interface RPCRouterMonitor

All Known Implementing Classes:
SwingRPCRouterMonitor

public interface RPCRouterMonitor

Author:
kent.spaulding@sun.com

Date: Jan 20, 2006


Method Summary
 void addListener(RPCRouter l)
          Add something interested in knowing when the monitor closes.
 void receive(java.lang.String payload)
          Called immediately after a message is received.
 void removeListener(RPCRouter l)
          Remove a previously isntalled listener.
 void send(java.lang.String payload)
          Called immediately before a message is sent.
 void trace(java.lang.String msg)
          Write whatever you want into the monitor with these trace messages.
 

Method Detail

send

public void send(java.lang.String payload)
Called immediately before a message is sent. Should include the entire payload, but not the HTTP headers.


receive

public void receive(java.lang.String payload)
Called immediately after a message is received.


trace

public void trace(java.lang.String msg)
Write whatever you want into the monitor with these trace messages.


addListener

public void addListener(RPCRouter l)
Add something interested in knowing when the monitor closes.


removeListener

public void removeListener(RPCRouter l)
Remove a previously isntalled listener.



Copyright © Sun Microsystems, Inc. All Rights Reserved.