public static interface MarshalBuffer.Listener
extends java.util.EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
availIncreaced(MarshalBuffer buffer,
int available,
java.lang.Object cookie)
Called whenever the size of the buffer increases or flush is called
while fragemntation is enabled.
|
void |
bufferCanceled(MarshalBuffer buffer,
org.omg.CORBA.SystemException ex,
java.lang.Object cookie)
Called when the marshal sequence is canceled by calling the cancel
operation.
|
void |
bufferClosed(MarshalBuffer buffer,
int available,
java.lang.Object cookie)
Called when the buffer is closed.
|
void availIncreaced(MarshalBuffer buffer, int available, java.lang.Object cookie)
buffer - The marshal buffer instance for which this method
is called.available - The number of bytes stored in the buffer.cookie - The cookie passed to the addHeader operation.void bufferClosed(MarshalBuffer buffer, int available, java.lang.Object cookie)
buffer - The marshal buffer instance for which this method
is called.available - The number of bytes stored in the buffer.cookie - The cookie passed to the addHeader operation.void bufferCanceled(MarshalBuffer buffer, org.omg.CORBA.SystemException ex, java.lang.Object cookie)
buffer - The marshal buffer instance for which this method
is called.ex - The system exception to be thrown.cookie - The cookie passed to the addHeader operation.