1 7 8 package com.sun.corba.se.impl.protocol.giopmsgheaders; 9 10 16 17 public final class FragmentMessage_1_1 extends Message_1_1 18 implements FragmentMessage { 19 20 22 FragmentMessage_1_1() {} 23 24 FragmentMessage_1_1(Message_1_1 msg11) { 25 this.magic = msg11.magic; 26 this.GIOP_version = msg11.GIOP_version; 27 this.flags = msg11.flags; 28 this.message_type = GIOPFragment; 29 this.message_size = 0; 30 } 31 32 34 public int getRequestId() { 35 return -1; } 37 38 public int getHeaderLength() { 39 return GIOPMessageHeaderLength; 40 } 41 42 44 48 public void read(org.omg.CORBA.portable.InputStream istream) { 49 super.read(istream); 50 } 51 52 53 public void write(org.omg.CORBA.portable.OutputStream ostream) { 54 super.write(ostream); 55 } 56 57 public void callback(MessageHandler handler) 58 throws java.io.IOException 59 { 60 handler.handleInput(this); 61 } 62 } | Popular Tags |