If the current thread is interrupted while this blocking method is running the method will return with a negative value. To check if the method exited because of an interruption pass the return value to {@link IError#make(int)} and then check {@link IError#getType()} to see if it is {@link IError.Type#ERROR_INTERRUPTED}.
@param packet [In/Out] The packet the IContainer will read into. @return 0 if successful, or <0 if not.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|