Class: ServerTCPSocketPackagedPipe

Inherits:
Object
  • Object
show all
Defined in:
lib/appswarm/tools/pipes.rb

Defined Under Namespace

Classes: Server

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#socketObject

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