|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataReceived
This event notifies a UICCTransportLink or BIPLink about data reception.
The object implementing DataReceived
interface is a Temporary Entry Point Object.
| Method Summary | |
|---|---|
short |
copyReceivedData(int srcOffset,
byte[] dstBuffer,
short dstOffset,
short dstLength)
Copy the received data in a buffer. |
int |
getReceivedDataLength()
Returns the amount of data received |
| Methods inherited from interface uicc.connection.Event |
|---|
getObservable |
| Method Detail |
|---|
int getReceivedDataLength()
short copyReceivedData(int srcOffset,
byte[] dstBuffer,
short dstOffset,
short dstLength)
srcOffset - the offset of the first byte to copy in the received datadstBuffer - a reference to the destination bufferdstOffset - the position in the destination bufferdstLength - the data length to be copied
dstOffset+dstLength
java.lang.NullPointerException - if dstBuffer is null
java.lang.ArrayIndexOutOfBoundsException - if dstOffset
or dstLength or both would cause access outside array bounds,
or if dstLength is negative.
ConnectionException - with the following reason code:
OUT_OF_DATA_BOUNDARIES if srcOffset
or dstOffset or dstLength would cause
access outside received data.
java.lang.NullPointerException - if dstBuffer is equal to null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||