jdk/src/java.rmi/share/classes/sun/rmi/transport/StreamRemoteCall.java
changeset 45984 75fef64e21fa
parent 25859 3317bb8137f4
equal deleted inserted replaced
45983:4bcee8b28e89 45984:75fef64e21fa
     1 /*
     1 /*
     2  * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   166             in = null;
   166             in = null;
   167         }
   167         }
   168     }
   168     }
   169 
   169 
   170     /**
   170     /**
       
   171      * Discard any post-processing of refs the InputStream.
       
   172      */
       
   173     public void discardPendingRefs() {
       
   174         in.discardRefs();
       
   175     }
       
   176 
       
   177     /**
   171      * Returns an output stream (may put out header information
   178      * Returns an output stream (may put out header information
   172      * relating to the success of the call).
   179      * relating to the success of the call).
   173      * @param success If true, indicates normal return, else indicates
   180      * @param success If true, indicates normal return, else indicates
   174      * exceptional return.
   181      * exceptional return.
   175      * @exception StreamCorruptedException If result stream previously
   182      * @exception StreamCorruptedException If result stream previously