1 7 8 package com.sun.corba.se.impl.encoding; 9 10 import com.sun.corba.se.spi.logging.CORBALogDomains; 11 12 import com.sun.corba.se.spi.orb.ORB; 13 14 import com.sun.corba.se.impl.encoding.ByteBufferWithInfo; 15 16 import com.sun.corba.se.impl.logging.ORBUtilSystemException; 17 18 26 public abstract class BufferManagerWrite 27 { 28 protected ORB orb ; 29 protected ORBUtilSystemException wrapper ; 30 31 BufferManagerWrite( ORB orb ) 32 { 33 this.orb = orb ; 34 this.wrapper = ORBUtilSystemException.get( orb, 35 CORBALogDomains.RPC_ENCODING ) ; 36 } 37 38 41 public abstract boolean sentFragment(); 42 43 47 public boolean sentFullMessage() { 48 return sentFullMessage; 49 } 50 51 55 public abstract int getBufferSize(); 56 57 81 82 public abstract void overflow (ByteBufferWithInfo bbwi); 83 84 109 110 public abstract void sendMessage (); 111 112 116 public void setOutputObject(Object outputObject) { 117 this.outputObject = outputObject; 118 } 119 120 123 abstract public void close(); 124 125 126 protected Object outputObject; 130 131 protected boolean sentFullMessage = false; 132 } 133 134 | Popular Tags |