Google Talk for Developers

StreamEvent Enumeration

Returned by StreamInterface or a derived object to describe the current writability state of the stream. This enumeration is used by several classes.

Syntax

enum StreamEvent {
    SE_OPEN = 1,
    SE_READ = 2,
    SE_WRITE = 4,
    SE_CLOSE = 8 };

Values

SE_OPEN
The stream is now open (but you must check for SE_READ or SE_WRITE to see if it's readable or writable).
SE_READ
The stream has data that can be read.
SE_WRITE
The stream is ready for writing.
SE_CLOSE
The stream has closed. When this is sent, the application should call StreamInterface::Close to properly close the 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.