SelectGroup
Select group is a virtual 'lock' object. Readers and writers are grouped into select groups. When event about avaiability to read or to write is arrived and no current event group members is running, than run of one of the members is triggered. I.e. only one from group can run.
Note, that application develeper usually not work with SelectGroup
directly,
it is created internally by select
pseudostatement.
- See also:
[gopher.Select]
[gopher.select]
- Source:
- SelectGroup.scala
Type members
Classlikes
- Source:
- SelectGroup.scala
- Source:
- SelectGroup.scala
- Source:
- SelectGroup.scala
Value members
Concrete methods
FluentDSL for user SelectGroup without macroses.
FluentDSL for user SelectGroup without macroses.
SelectGroup.onRead(input){ x => println(x) }
.onRead(endSignal){ () => done=true }
- Source:
- SelectGroup.scala
FluentDSL for user SelectGroup without macroses.
FluentDSL for user SelectGroup without macroses.
SelectGroup.onWrite(input){ x => println(x) }
.onWrite(endSignal){ () => done=true }
- Source:
- SelectGroup.scala
Inherited methods
Concrete fields
instance of select group created for call of select. 0 - free 1 - now processes 2 - expired
instance of select group created for call of select. 0 - free 1 - now processes 2 - expired
- Source:
- SelectGroup.scala