Google Talk for Developers

StreamResult Enumeration

Describes the attempt of a read or write operation on a StreamInterface object.

Syntax

enum StreamResult {
    SR_ERROR,
    SR_SUCCESS,
    SR_BLOCK,
    SR_EOS };

Values

SR_ERROR
An undefined error occurred. The error parameter of the read or write method should provide more information about what happened.
SR_SUCCESS
The specified number of bytes were read or written.
SR_BLOCK
The stream is in non-blocking mode, and the requested action would block the stream, or the stream is still opening. Attempt the action again later.
SR_EOS
End of stream.

 

Attributes: public

Declaration file: talk/base/stream.h

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.