40 |
|
|
41 |
import gnu.CORBA.ObjectCreator; |
import gnu.CORBA.ObjectCreator; |
42 |
import gnu.CORBA.Unexpected; |
import gnu.CORBA.Unexpected; |
43 |
import gnu.CORBA.CDR.cdrBufInput; |
import gnu.CORBA.CDR.BufferredCdrInput; |
44 |
import gnu.CORBA.CDR.cdrBufOutput; |
import gnu.CORBA.CDR.BufferedCdrOutput; |
45 |
|
|
46 |
import java.io.IOException; |
import java.io.IOException; |
47 |
import java.io.ObjectInputStream; |
import java.io.ObjectInputStream; |
272 |
throws IOException, ClassNotFoundException |
throws IOException, ClassNotFoundException |
273 |
{ |
{ |
274 |
byte[] b = (byte[]) input.readObject(); |
byte[] b = (byte[]) input.readObject(); |
275 |
cdrBufInput in = new cdrBufInput(b); |
BufferredCdrInput in = new BufferredCdrInput(b); |
276 |
|
|
277 |
if (orb != null) |
if (orb != null) |
278 |
in.setOrb(orb); |
in.setOrb(orb); |
301 |
public void writeObject(Stub self, ObjectOutputStream output, ORB orb) |
public void writeObject(Stub self, ObjectOutputStream output, ORB orb) |
302 |
throws IOException |
throws IOException |
303 |
{ |
{ |
304 |
cdrBufOutput out = new cdrBufOutput(); |
BufferedCdrOutput out = new BufferedCdrOutput(); |
305 |
out.setOrb(orb == null ? self._orb() : orb); |
out.setOrb(orb == null ? self._orb() : orb); |
306 |
out.write_Object(self); |
out.write_Object(self); |
307 |
|
|