Skip to main content

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

  • From: nitin_verma@...
  • To: commits@...
  • Subject: [xadisk~svn:533] Changes for JIRA issue #124.
  • Date: Wed, 14 Aug 2013 17:12:14 +0000

Project:    xadisk
Repository: svn
Revision:   533
Author:     nitin_verma
Date:       2013-08-14 17:12:11 UTC
Link:       

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


Revisions:
----------
533


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 532)
+++ trunk/src/org/xadisk/bridge/proxies/facilitators/RemoteMethodInvoker.java 
  (revision 533)
@@ -9,6 +9,7 @@
 package org.xadisk.bridge.proxies.facilitators;
 
 import java.io.BufferedInputStream;
+import java.io.BufferedOutputStream;
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
 import java.io.ObjectInputStream;
@@ -94,8 +95,9 @@
 
             byte[] toSend = baos.toByteArray();
             int lengthOfInvocation = toSend.length;
-
-            OutputStream socketOS = socket.getOutputStream();
+            
+            OutputStream socketOS = new BufferedOutputStream(
+                    socket.getOutputStream(), 1024);
             
socketOS.write(getDataOutputCompliantBytesFromInteger(lengthOfInvocation));
             socketOS.write(toSend);
             socketOS.flush();





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

nitin_verma 08/14/2013
 
 
Close
loading
Please Confirm
Close