|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public static interface MarshalBuffer.Listener
This interface is used by the MarshalBuffer to send important messages to a registered listener. The messages are:
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||