mirror of https://github.com/apache/activemq.git
added a few more properties to the multicast transport
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386581 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
13adb80274
commit
0ae30b3e87
|
@ -57,6 +57,30 @@ public class MulticastTransport extends UdpTransport {
|
||||||
super(wireFormat, remoteLocation);
|
super(wireFormat, remoteLocation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long getKeepAliveInterval() {
|
||||||
|
return keepAliveInterval;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setKeepAliveInterval(long keepAliveInterval) {
|
||||||
|
this.keepAliveInterval = keepAliveInterval;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isLoopBackMode() {
|
||||||
|
return loopBackMode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLoopBackMode(boolean loopBackMode) {
|
||||||
|
this.loopBackMode = loopBackMode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getTimeToLive() {
|
||||||
|
return timeToLive;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTimeToLive(int timeToLive) {
|
||||||
|
this.timeToLive = timeToLive;
|
||||||
|
}
|
||||||
|
|
||||||
protected String getProtocolName() {
|
protected String getProtocolName() {
|
||||||
return "Multicast";
|
return "Multicast";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue