[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/bisocket ...
Ron Sigal
ron_sigal at yahoo.com
Wed Apr 11 04:00:02 EDT 2007
User: rsigal
Date: 07/04/11 04:00:02
Modified: src/main/org/jboss/remoting/transport/bisocket Tag:
remoting_2_x BisocketClientInvoker.java
Log:
JBREM-734: Constructor gets parameters from InvokerLocator.
Revision Changes Path
No revision
No revision
1.1.2.15 +14 -3 JBossRemoting/src/main/org/jboss/remoting/transport/bisocket/BisocketClientInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BisocketClientInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/bisocket/BisocketClientInvoker.java,v
retrieving revision 1.1.2.14
retrieving revision 1.1.2.15
diff -u -b -r1.1.2.14 -r1.1.2.15
--- BisocketClientInvoker.java 7 Apr 2007 04:05:47 -0000 1.1.2.14
+++ BisocketClientInvoker.java 11 Apr 2007 08:00:02 -0000 1.1.2.15
@@ -139,9 +139,9 @@
{
super(locator, config);
- if (config != null)
+ if (configuration != null)
{
- listenerId = (String) config.get(Client.LISTENER_ID_KEY);
+ listenerId = (String) configuration.get(Client.LISTENER_ID_KEY);
if (listenerId != null)
{
isCallbackInvoker = true;
@@ -150,7 +150,7 @@
}
// look for pingFrequency param
- Object val = config.get(Bisocket.PING_FREQUENCY);
+ Object val = configuration.get(Bisocket.PING_FREQUENCY);
if (val != null)
{
try
@@ -230,6 +230,17 @@
}
}
+ public int getMaxRetries()
+ {
+ return maxRetries;
+ }
+
+
+ public void setMaxRetries(int maxRetries)
+ {
+ this.maxRetries = maxRetries;
+ }
+
public int getPingFrequency()
{
More information about the jboss-cvs-commits
mailing list