Module: Rex::IO::StreamAbstraction::Ext
- Defined in:
- lib/rex/io/stream_abstraction.rb
Overview
Extension information for required Stream interface.
Instance Method Summary collapse
-
#initinfo(peer, local) ⇒ Object
Initializes peer information.
-
#localinfo ⇒ Object
Symbolic local information.
-
#peerinfo ⇒ Object
Symbolic peer information.
Instance Method Details
#initinfo(peer, local) ⇒ Object
Initializes peer information.
27 28 29 30 |
# File 'lib/rex/io/stream_abstraction.rb', line 27 def initinfo(peer,local) @peer = peer @local = local end |
#localinfo ⇒ Object
Symbolic local information.
42 43 44 |
# File 'lib/rex/io/stream_abstraction.rb', line 42 def localinfo (@local || "Local Pipe") end |
#peerinfo ⇒ Object
Symbolic peer information.
35 36 37 |
# File 'lib/rex/io/stream_abstraction.rb', line 35 def peerinfo (@peer || "Remote Pipe") end |