Class: ServerTCPSocketPackagedPipe
- Inherits:
-
Object
- Object
- ServerTCPSocketPackagedPipe
- Defined in:
- lib/appswarm/tools/pipes.rb
Defined Under Namespace
Classes: Server
Instance Attribute Summary collapse
-
#socket ⇒ Object
Returns the value of attribute socket.
Instance Method Summary collapse
-
#initialize(listen, port) ⇒ ServerTCPSocketPackagedPipe
constructor
A new instance of ServerTCPSocketPackagedPipe.
- #writePackage(str) ⇒ Object
Constructor Details
#initialize(listen, port) ⇒ ServerTCPSocketPackagedPipe
Returns a new instance of ServerTCPSocketPackagedPipe.
83 84 85 86 87 88 |
# File 'lib/appswarm/tools/pipes.rb', line 83 def initialize(listen,port) @socket=nil @server=Server.new(listen,port,self) @packages=[] end |
Instance Attribute Details
#socket ⇒ Object
Returns the value of attribute socket.
40 41 42 |
# File 'lib/appswarm/tools/pipes.rb', line 40 def socket @socket end |
Instance Method Details
#writePackage(str) ⇒ Object
90 91 92 |
# File 'lib/appswarm/tools/pipes.rb', line 90 def writePackage(str) end |