Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mom4j.messaging
Class P2PFilter  view P2PFilter download P2PFilter.java

java.lang.Object
  extended byorg.mom4j.messaging.P2PFilter
All Implemented Interfaces:
Filter

public class P2PFilter
extends java.lang.Object
implements Filter


Field Summary
private  Console console
           
 
Constructor Summary
P2PFilter(Console c)
           
 
Method Summary
 javax.jms.Message receive(java.lang.String sessionId, java.lang.String destination, java.lang.String consumerId, boolean transacted)
           
 void send(java.lang.String sessionId, java.lang.String destination, javax.jms.Message msg, boolean transacted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

console

private Console console
Constructor Detail

P2PFilter

public P2PFilter(Console c)
Method Detail

send

public void send(java.lang.String sessionId,
                 java.lang.String destination,
                 javax.jms.Message msg,
                 boolean transacted)
          throws java.io.IOException,
                 javax.jms.JMSException
Specified by:
send in interface Filter

receive

public javax.jms.Message receive(java.lang.String sessionId,
                                 java.lang.String destination,
                                 java.lang.String consumerId,
                                 boolean transacted)
                          throws java.io.IOException,
                                 javax.jms.JMSException
Specified by:
receive in interface Filter