File: smack.xml

package info (click to toggle)
libswarmcache-java 1.0RC2%2Bcvs20071027-2
  • links: PTS, VCS
  • area: contrib
  • in suites: lenny
  • size: 284 kB
  • ctags: 249
  • sloc: java: 1,062; xml: 407; sh: 14; makefile: 10
file content (79 lines) | stat: -rw-r--r-- 2,956 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

	<protocol-stack name="Simple Multicast ACK Protocol Stack" version="$Revision: 1.1 $">
		<description>
		Stack based on SMACK and minimal threads. SMACK is a
		simple reliable multicast transport based on positive
		acks (sender sends message, receiver sends ack, if
		sender doesn't receive ack within timeout, message
		will be retransmitted).
		</description>
		<protocol>
			<protocol-name>UDP Protocol</protocol-name>
			<description>Sends and receives messages on UDP sockets</description>
			<class-name>org.javagroups.protocols.UDP</class-name>
			<protocol-params>
				<protocol-param name="mcast_addr" value="228.8.8.8"/>
				<protocol-param name="mcast_port" value="45566"/>
				<protocol-param name="ip_ttl" value="32"/>
			</protocol-params>
		</protocol>
		<!--
		<protocol>
			<protocol-name>DISCARD</protocol-name>
			<description>Causes retransmissions in SMACK
			and UNICAST if enabled (for test purposes)</description>
			<class-name>org.javagroups.protocols.DISCARD</class-name>
			<protocol-params>
				<protocol-param name="down" value="0.1"/>
			</protocol-params>
		</protocol>
		-->
		<protocol>
			<protocol-name>FD_SIMPLE</protocol-name>
			<description>FD_SIMPLE</description>
			<class-name>org.javagroups.protocols.FD_SIMPLE</class-name>
			<protocol-params>
				<protocol-param name="interval"        value="2000"/>
				<protocol-param name="timeout"         value="3000"/>
				<protocol-param name="max_missed_hbs"  value="3"/>
				<protocol-param name="up_thread"       value="false"/>
				<protocol-param name="down_thread"     value="false"/>
			</protocol-params>
		</protocol>
		<protocol>
			<protocol-name>Unicast Protocol</protocol-name>
			<description>Provides lossless transmission of unicast message (similar to TCP)</description>
			<class-name>org.javagroups.protocols.UNICAST</class-name>
			<protocol-params>
				<protocol-param name="timeout"         value="1200,2400,3000"/>
				<protocol-param name="use_gms"         value="false"/>
				<protocol-param name="up_thread"       value="false"/>
				<protocol-param name="down_thread"     value="false"/>
			</protocol-params>
		</protocol>
		<protocol>
			<protocol-name>SMACK</protocol-name>
			<description>SMACK</description>
			<class-name>org.javagroups.protocols.SMACK</class-name>
			<protocol-params>
				<protocol-param name="timeout"         value="1000,1500,2000"/>
				<protocol-param name="max_xmits"       value="20"/>
				<protocol-param name="up_thread"       value="false"/>
				<protocol-param name="down_thread"     value="false"/>
			</protocol-params>
		</protocol>
		<!--
		<protocol>
			<protocol-name>PERF</protocol-name>
			<description>Prints the time spent in all
			protocols for each message. Disabled by default
			</description>
			<class-name>org.javagroups.protocols.PERF</class-name>
			<protocol-params>
				<protocol-param name="details"   value="true"/>
			</protocol-params>
		</protocol>
		-->
	</protocol-stack>