38 |
|
|
39 |
package gnu.CORBA.GIOP.v1_2; |
package gnu.CORBA.GIOP.v1_2; |
40 |
|
|
41 |
|
import gnu.CORBA.Minor; |
42 |
import gnu.CORBA.CDR.cdrInput; |
import gnu.CORBA.CDR.cdrInput; |
43 |
import gnu.CORBA.CDR.cdrOutput; |
import gnu.CORBA.CDR.cdrOutput; |
44 |
import gnu.CORBA.GIOP.ServiceContext; |
import gnu.CORBA.GIOP.ServiceContext; |
59 |
public class RequestHeader |
public class RequestHeader |
60 |
extends gnu.CORBA.GIOP.v1_0.RequestHeader |
extends gnu.CORBA.GIOP.v1_0.RequestHeader |
61 |
{ |
{ |
62 |
|
/** |
63 |
|
* Use serialVersionUID for interoperability. |
64 |
|
*/ |
65 |
|
private static final long serialVersionUID = 1; |
66 |
|
|
67 |
/** |
/** |
68 |
* Indicates that the object is addressed by the object key. |
* Indicates that the object is addressed by the object key. |
69 |
*/ |
*/ |
156 |
throw new NO_IMPLEMENT("Object addressing by by IOR addressing info"); |
throw new NO_IMPLEMENT("Object addressing by by IOR addressing info"); |
157 |
|
|
158 |
default : |
default : |
159 |
throw new MARSHAL("Unknow addressing method in request, " + |
MARSHAL m = new MARSHAL("Unknow addressing method in request, " + |
160 |
AddressingDisposition |
AddressingDisposition |
161 |
); |
); |
162 |
|
m.minor = Minor.UnsupportedAddressing; |
163 |
|
throw m; |
164 |
} |
} |
165 |
|
|
166 |
operation = in.read_string(); |
operation = in.read_string(); |
172 |
catch (IOException ex) |
catch (IOException ex) |
173 |
{ |
{ |
174 |
MARSHAL t = new MARSHAL(); |
MARSHAL t = new MARSHAL(); |
175 |
|
t.minor = Minor.Header; |
176 |
t.initCause(ex); |
t.initCause(ex); |
177 |
throw t; |
throw t; |
178 |
} |
} |