This class represents a channel that is associated with a streaming pool that has no definite end-point. While this may seem a paradox given the stream class of channels, it's in fact dinstinct because streams automatically forward traffic between the two ends of the channel whereas stream pools are always requested data in a single direction.
Cleans up resources used by the channel.
# File lib/rex/post/meterpreter/channels/pools/stream_pool.rb, line 93 def cleanup super cleanup_abstraction end
Closes the local half of the pool stream.
# File lib/rex/post/meterpreter/channels/pools/stream_pool.rb, line 84 def dio_close_handler(packet) rsock.close return super(packet) end
Transfers data to the local half of the pool for reading.
# File lib/rex/post/meterpreter/channels/pools/stream_pool.rb, line 71 def dio_write_handler(packet, data) rv = Rex::ThreadSafe.select(nil, [rsock], nil, 0.01) if(rv) rsock.write(data) return true else return false end end
This method returns whether or not eof has been returned.
# File lib/rex/post/meterpreter/channels/pools/stream_pool.rb, line 64 def eof return false end
Generated with the Darkfish Rdoc Generator 2.