- Queries
- All Atoms
- Search
- Advanced Search
Diviner All Atoms
All Atoms
All Atoms
- Method
- Method
- Method
- Method
- Creates a pair of socket channels that are connected to each other. This is mostly useful for writing unit tests of, e.g., protocol channels.
- Method
- Channel that transmits dictionaries of primitives using JSON serialization. This channel is not binary safe.
- Class
- Method
- Method
- Wrapper around streams, pipes, and other things that have basic read/write I/O characteristics.
- Class
- Wait for any buffered writes to complete. This is a blocking call. When the call returns, the write buffer will be empty.
- Method
- Get the number of bytes we're currently waiting to write.
- Method
- Test state of the write buffer.
- Method
- Test state of the read buffer.
- Method
- Set the maximum size of the channel's read buffer. Reads will artificially block once the buffer reaches this size until the in-process buffer is consumed.
- Method
- Get sockets to select for writing.
- Method
- Get sockets to select for reading.
- Method
- Write to the channel's underlying I/O.
- Method
- Read from the channel's underlying I/O.
- Method
- Test if the channel is open for writing.
- Method
- Test if the channel is open for reading.
- Method
- Close the channel for writing.
- Method
- Test if the channel is open: active, can be read from and written to, etc.
- Method
- Updates the channel, filling input buffers and flushing output buffers. Returns false if the channel has closed.
- Method
- Wait (using select()) for channels to become ready for reads or writes. This method blocks until some channel is ready to be updated.
- Method
- Wait for any activity on a list of channels. Convenience wrapper around @{method:waitForActivity}.
- Method
- Write to the channel. A channel defines what data format it accepts, so this method may take strings, objects, or anything else.
- Method
- Read from the channel. A channel defines the format of data that is read from it, so this method may return strings, objects, or anything else.
- Method
- Channel that wraps some other channel. This class is not interesting on its own and just serves as a no-op proxy, but extending it allows you to compose channels to mutate their characteristics (for instance, to add protocol semantics with @{class:PhutilProtocolChannel}).
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Channel on an underlying @{class:ExecFuture}. For a description of channels, see @{class:PhutilChannel}.
- Class
- If the wrapped @{class:ExecFuture} outputs data to stderr, we normally throw an exception. Instead, you can provide a callback handler that will be invoked and passed the data. It should have this signature:
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Class
- Method
- Get all the objects currently listening to any event.
- Method
- Method
- Method
- Method
- Class
- Class
- Class
- Return a scalar ID unique to this listener. This is used to deduplicate listeners which match events on multiple rules, so they are invoked only once.
- Method
- Method
- Method
- Method
- Method