Skip to main content

[xadisk~svn:530] Changes for JIRA issue #124.

  • From: nitin_verma@...
  • To: commits@...
  • Subject: [xadisk~svn:530] Changes for JIRA issue #124.
  • Date: Sun, 11 Aug 2013 10:38:08 +0000

Project:    xadisk
Repository: svn
Revision:   530
Author:     nitin_verma
Date:       2013-08-11 10:38:07 UTC
Link:       

Log Message:
------------
Changes for JIRA issue #124.


Revisions:
----------
530


Modified Paths:
---------------
trunk/src/org/xadisk/bridge/proxies/facilitators/RemoteMethodInvoker.java


Diffs:
------
Index: 
trunk/src/org/xadisk/bridge/proxies/facilitators/RemoteMethodInvoker.java
===================================================================
--- trunk/src/org/xadisk/bridge/proxies/facilitators/RemoteMethodInvoker.java 
  (revision 529)
+++ trunk/src/org/xadisk/bridge/proxies/facilitators/RemoteMethodInvoker.java 
  (revision 530)
@@ -8,6 +8,7 @@
 
 package org.xadisk.bridge.proxies.facilitators;
 
+import java.io.BufferedInputStream;
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
 import java.io.ObjectInputStream;
@@ -99,7 +100,8 @@
             socketOS.write(toSend);
             socketOS.flush();
 
-            ObjectInputStream ois = new 
ObjectInputStream(socket.getInputStream());
+            BufferedInputStream bis = new 
BufferedInputStream(socket.getInputStream(), 1024);
+            ObjectInputStream ois = new ObjectInputStream(bis);
             isError = ois.readBoolean();
             int numOutputs = ois.readInt();
             returnObject = ois.readObject();





[xadisk~svn:530] Changes for JIRA issue #124.

nitin_verma 08/11/2013
 
 
Close
loading
Please Confirm
Close