42 |
import gnu.CORBA.GIOP.MessageHeader; |
import gnu.CORBA.GIOP.MessageHeader; |
43 |
import gnu.CORBA.GIOP.ReplyHeader; |
import gnu.CORBA.GIOP.ReplyHeader; |
44 |
import gnu.CORBA.GIOP.RequestHeader; |
import gnu.CORBA.GIOP.RequestHeader; |
45 |
import gnu.CORBA.GIOP.cxCodeSet; |
import gnu.CORBA.GIOP.CodeSetServiceContext; |
46 |
|
|
47 |
import org.omg.CORBA.ORB; |
import org.omg.CORBA.ORB; |
48 |
import org.omg.CORBA.portable.OutputStream; |
import org.omg.CORBA.portable.OutputStream; |
169 |
buffer = new BufferedCdrOutput(); |
buffer = new BufferedCdrOutput(); |
170 |
buffer.setOrb(orb); |
buffer.setOrb(orb); |
171 |
buffer.setVersion(message_header.version); |
buffer.setVersion(message_header.version); |
172 |
buffer.setCodeSet(cxCodeSet.find(reply_header.service_context)); |
buffer.setCodeSet(CodeSetServiceContext.find(reply_header.service_context)); |
173 |
|
|
174 |
// Since 1.2, the data section is always aligned on the 8 byte boundary. |
// Since 1.2, the data section is always aligned on the 8 byte boundary. |
175 |
// In older versions, it is necessary to set the offset correctly. |
// In older versions, it is necessary to set the offset correctly. |