Class: Indocker::Launchers::DTO::RemoteOperationDTO

Inherits:
Object
  • Object
show all
Defined in:
lib/indocker/launchers/dto/remote_operation_dto.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(thread, server, operation, message = nil) ⇒ RemoteOperationDTO

Returns a new instance of RemoteOperationDTO.



4
5
6
7
8
9
# File 'lib/indocker/launchers/dto/remote_operation_dto.rb', line 4

def initialize(thread, server, operation, message = nil)
  @thread = thread
  @server = server
  @operation = operation
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



2
3
4
# File 'lib/indocker/launchers/dto/remote_operation_dto.rb', line 2

def message
  @message
end

#operationObject (readonly)

Returns the value of attribute operation.



2
3
4
# File 'lib/indocker/launchers/dto/remote_operation_dto.rb', line 2

def operation
  @operation
end

#serverObject (readonly)

Returns the value of attribute server.



2
3
4
# File 'lib/indocker/launchers/dto/remote_operation_dto.rb', line 2

def server
  @server
end

#threadObject (readonly)

Returns the value of attribute thread.



2
3
4
# File 'lib/indocker/launchers/dto/remote_operation_dto.rb', line 2

def thread
  @thread
end