|
1 | 1 |
|
2 | 2 | package org.jgroups.protocols;
|
3 | 3 |
|
4 |
| -import java.io.DataInputStream; |
5 |
| -import java.net.DatagramSocket; |
6 |
| -import java.net.InetSocketAddress; |
7 |
| -import java.net.UnknownHostException; |
8 |
| -import java.util.ArrayList; |
9 |
| -import java.util.Arrays; |
10 |
| -import java.util.Collections; |
11 |
| -import java.util.List; |
12 |
| - |
13 | 4 | import org.jgroups.Address;
|
14 | 5 | import org.jgroups.Event;
|
15 |
| -import org.jgroups.Global; |
16 | 6 | import org.jgroups.Message;
|
17 | 7 | import org.jgroups.PhysicalAddress;
|
18 | 8 | import org.jgroups.annotations.Experimental;
|
19 | 9 | import org.jgroups.annotations.Property;
|
20 |
| -import org.jgroups.stack.GossipData; |
21 |
| -import org.jgroups.stack.GossipRouter; |
22 |
| -import org.jgroups.stack.RouterStubManager; |
23 |
| -import org.jgroups.stack.IpAddress; |
24 |
| -import org.jgroups.stack.Protocol; |
25 |
| -import org.jgroups.stack.RouterStub; |
| 10 | +import org.jgroups.stack.*; |
26 | 11 | import org.jgroups.util.Buffer;
|
27 | 12 | import org.jgroups.util.ExposedByteArrayOutputStream;
|
28 | 13 | import org.jgroups.util.ExposedDataOutputStream;
|
29 | 14 | import org.jgroups.util.Util;
|
30 | 15 |
|
| 16 | +import java.io.DataInputStream; |
| 17 | +import java.net.DatagramSocket; |
| 18 | +import java.net.InetSocketAddress; |
| 19 | +import java.net.UnknownHostException; |
| 20 | +import java.util.ArrayList; |
| 21 | +import java.util.Arrays; |
| 22 | +import java.util.Collections; |
| 23 | +import java.util.List; |
| 24 | + |
31 | 25 | /**
|
32 | 26 | * Replacement for UDP. Instead of sending packets via UDP, a TCP connection is opened to a Router
|
33 | 27 | * (using the RouterStub client-side stub), the IP address/port of which was given using channel
|
@@ -75,7 +69,7 @@ public TUNNEL() {
|
75 | 69 | }
|
76 | 70 |
|
77 | 71 | public boolean supportsMulticasting() {
|
78 |
| - return false; |
| 72 | + return true; |
79 | 73 | }
|
80 | 74 |
|
81 | 75 | @Property(description="A comma-separated list of GossipRouter hosts, e.g. HostA[12001],HostB[12001]")
|
|
0 commit comments