public interface IOVec extends Buffer
Buffer
interface with lenIn, lenOut, and offset
attributes.NO_WAIT, WAIT_FOREVER
Modifier and Type | Method and Description |
---|---|
int |
getLenIn()
Retrieves the current value of the lenIn attribute.
|
int |
getLenOut()
Retrieves the current value of the lenOut attribute.
|
int |
getOffset()
Retrieves the current value of the offset attribute.
|
void |
setLenIn(int len)
Sets the lenIn attribute.
|
void |
setOffset(int offset)
Sets the offset attribute.
|
close, close, getData, getSize, setData, setSize, setSize
clone, getId, getSession
void setLenIn(int len) throws BadParameterException
len
- the value for the attribute.BadParameterException
- is thrown when the lenIn is set to an illegal
value (< 0 or larger than size if size != -1).int getLenIn()
int getLenOut()
void setOffset(int offset) throws BadParameterException
offset
- the value for the attribute.BadParameterException
- is thrown when the offset is set to an illegal
value (< 0).int getOffset()
Copyright © 2016 Open Grid Forum. All rights reserved.