File too/DescriptorSet


class too.DescriptorSet

Inherits

State supers
tom.State, tom.C

instance too.DescriptorSet

variables

pointer set;
The bitset of descriptors usable to select(2).
int cap;
One beyond the highest descriptor that can be put in the set.
int beyond_last;
One beyond the highest descriptor present in the set.
int num;
The number of descriptors present in the set.
tom.MutableObjectArray descriptors;
The array of tom.Descriptor objects.
tom.MutableObjectArray delegates;
The array of DescriptorDelegate objects.

methods

void
  dealloc;
Deallocate the memory occupied by the set.

id (self)
  init;
Designated initializer.

void
  remove tom.Descriptor descriptor;
Undocumented.

void
  set DescriptorDelegate delegate
   at tom.Descriptor descriptor;
Undocumented.

(pointer, int)
  vitals;
Return a pointer to the low-level descriptor set, and the one beyond the highest value in that set.

Event dispatching

void
  readEvent int d;
Dispatch a read event on the file descriptor d, to the delegate at index d in the delegates.

void
  writeEvent int d;
Dispatch a write event on the file descriptor d, to the delegate at index d in the delegates.


Generated by tm 1.01.