KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > providers > multicast > MulticastConnector


1 /*
2  * $Id: MulticastConnector.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.providers.multicast;
12
13 import org.mule.providers.udp.UdpConnector;
14
15 /**
16  * <code>MulticastConnector</code> can dispatch mule events using ip multicasting
17  *
18  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
19  * @version $Revision: 3798 $
20  */

21 public class MulticastConnector extends UdpConnector
22 {
23     private boolean loopback = false;
24
25     public String JavaDoc getProtocol()
26     {
27         return "MULTICAST";
28     }
29
30     public boolean isLoopback()
31     {
32         return loopback;
33     }
34
35     public void setLoopback(boolean loopback)
36     {
37         this.loopback = loopback;
38     }
39
40 }
41
Popular Tags