44 |
import gnu.CORBA.CDR.Vio; |
import gnu.CORBA.CDR.Vio; |
45 |
import gnu.CORBA.CDR.gnuRuntime; |
import gnu.CORBA.CDR.gnuRuntime; |
46 |
import gnu.CORBA.CDR.gnuValueStream; |
import gnu.CORBA.CDR.gnuValueStream; |
47 |
import gnu.CORBA.CDR.noHeaderInput; |
import gnu.CORBA.CDR.HeadlessInput; |
48 |
|
|
49 |
import org.omg.CORBA.MARSHAL; |
import org.omg.CORBA.MARSHAL; |
50 |
import org.omg.CORBA.StringValueHelper; |
import org.omg.CORBA.StringValueHelper; |
697 |
public Serializable readValue(InputStream in, int offset, Class clz, |
public Serializable readValue(InputStream in, int offset, Class clz, |
698 |
String repositoryID, RunTime sender) |
String repositoryID, RunTime sender) |
699 |
{ |
{ |
700 |
if (in instanceof noHeaderInput) |
if (in instanceof HeadlessInput) |
701 |
((noHeaderInput) in).subsequentCalls = true; |
((HeadlessInput) in).subsequentCalls = true; |
702 |
|
|
703 |
gnuRuntime g; |
gnuRuntime g; |
704 |
Serializable object = null; |
Serializable object = null; |
892 |
for (int i = 0; i < fields.length; i++) |
for (int i = 0; i < fields.length; i++) |
893 |
{ |
{ |
894 |
// Full value type header expected ahead. |
// Full value type header expected ahead. |
895 |
if (input instanceof noHeaderInput) |
if (input instanceof HeadlessInput) |
896 |
((noHeaderInput) input).subsequentCalls = true; |
((HeadlessInput) input).subsequentCalls = true; |
897 |
|
|
898 |
f = fields[i]; |
f = fields[i]; |
899 |
fc = f.getType(); |
fc = f.getType(); |