Methods Summary |
---|
public abstract void | close()Close the BufferManagerWrite and do any outstanding cleanup.
|
public abstract int | getBufferSize()Returns the correct buffer size for this type of
buffer manager as set in the ORB.
|
public abstract void | overflow(com.sun.corba.se.impl.encoding.ByteBufferWithInfo bbwi)
|
public abstract void | sendMessage()Called after Stub._invoke (i.e., before complete message has been sent).
IIOPOutputStream.writeTo called from IIOPOutputStream.invoke
Case: overflow was never called (bbwi.buf contains complete message).
Backpatch size field.
If growing or collecting:
this.bufQ.put(bbwi).
this.bufQ.iterate // However, see comment in getBufferQ
this.connection.send(fragment)
If streaming:
this.connection.send(bbwi).
Case: overflow was called N times (bbwi.buf contains last buffer).
If growing or collecting:
this.bufQ.put(bbwi).
backpatch size field in first buffer.
this.bufQ.iterate // However, see comment in getBufferQ
this.connection.send(fragment)
If streaming:
backpatch fragment size field in bbwi.buf.
Set no more fragments bit.
this.connection.send(bbwi).
|
public abstract boolean | sentFragment()Has the stream sent out any fragments so far?
|
public boolean | sentFullMessage()Has the entire message been sent? (Has
sendMessage been called?)
return sentFullMessage;
|
public void | setOutputObject(java.lang.Object outputObject)A reference to the connection level stream will be required when
sending fragments.
this.outputObject = outputObject;
|