KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ubermq > jms > client > proc > LrmpClientProc


1 package com.ubermq.jms.client.proc;
2
3 import com.ubermq.jms.common.datagram.IControlDatagramFactory;
4 import sun.security.krb5.internal.crypto.f;
5
6 /**
7  * A trivial extension of the standard Client processor
8  * that does not send control datagrams and does not
9  * wait for ACK messages before sending. These two settings
10  * make sense in multicast scenarios where there is no centralized
11  * server processing and routing all messages.
12  */

13 public final class LrmpClientProc
14     extends ClientProc
15 {
16     /**
17      * Creates a LRMP client processor with the given control
18      * datagram factory.
19      * @param f a control datagram factory
20      */

21     public LrmpClientProc(IControlDatagramFactory f)
22     {
23         super(f);
24         this.fSendControlDgrams = false;
25     }
26     
27     public boolean shouldWaitForAck()
28     {
29         return false;
30     }
31     
32 }
33
Popular Tags