public abstract class BufferManagerWrite extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ORB |
orb |
protected Object |
outputObject |
protected boolean |
sentFullMessage |
protected static ORBUtilSystemException |
wrapper |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close()
Close the BufferManagerWrite and do any outstanding cleanup.
|
abstract int |
getBufferSize()
Returns the correct buffer size for this type of
buffer manager as set in the ORB.
|
abstract boolean |
isFragmentOnOverflow()
Returns true if this buffer manager fragments when an overflow occurs.
|
protected abstract ByteBuffer |
overflow(ByteBuffer byteBuffer,
int numBytesNeeded) |
abstract void |
sendMessage()
Called after Stub._invoke (i.e., before complete message has been sent).
|
abstract boolean |
sentFragment()
Has the stream sent out any fragments so far?
|
boolean |
sentFullMessage()
Has the entire message been sent? (Has
sendMessage been called?)
|
void |
setOutputObject(Object outputObject)
A reference to the connection level stream will be required when
sending fragments.
|
protected ORB orb
protected static final ORBUtilSystemException wrapper
protected Object outputObject
protected boolean sentFullMessage
public abstract boolean sentFragment()
public boolean sentFullMessage()
public abstract int getBufferSize()
protected abstract ByteBuffer overflow(ByteBuffer byteBuffer, int numBytesNeeded)
public abstract boolean isFragmentOnOverflow()
public abstract void sendMessage()
public void setOutputObject(Object outputObject)
public abstract void close()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.