Class | Rumai::IXP::Agent |
In: |
lib/rumai/ixp/transport.rb
|
Parent: | Object |
A thread-safe proxy that multiplexes many threads onto a single 9P2000 connection.
MODES | = | { 'r' => Topen::OREAD, 'w' => Topen::OWRITE, 't' => Topen::ORCLOSE, '+' => Topen::ORDWR, } |
msize | [R] |
Creates a new file at the given path that is accessible using the given modes for a user having the given permission bits.
Sends the given message (Rumai::IXP::Fcall) and returns its response.
This method allows you to perform a 9P2000 transaction without worrying about the details of tag collisions and thread safety.