Class: NodeDirection
- Inherits:
-
Object
- Object
- NodeDirection
- Defined in:
- lib/runtime.rb,
lib/generators/scala_server_generator.rb,
lib/generators/unity_client_generator.rb
Instance Attribute Summary collapse
-
#in_direction ⇒ Object
Returns the value of attribute in_direction.
-
#local ⇒ Object
Returns the value of attribute local.
-
#out_direction ⇒ Object
Returns the value of attribute out_direction.
-
#remote ⇒ Object
Returns the value of attribute remote.
Instance Method Summary collapse
- #connection_name ⇒ Object
- #connector_name ⇒ Object
- #handler_name ⇒ Object
-
#initialize(local, remote) ⇒ NodeDirection
constructor
A new instance of NodeDirection.
- #service_name ⇒ Object
Constructor Details
#initialize(local, remote) ⇒ NodeDirection
Returns a new instance of NodeDirection.
341 342 343 344 |
# File 'lib/runtime.rb', line 341 def initialize local, remote @local = local @remote = remote end |
Instance Attribute Details
#in_direction ⇒ Object
Returns the value of attribute in_direction.
339 340 341 |
# File 'lib/runtime.rb', line 339 def in_direction @in_direction end |
#local ⇒ Object
Returns the value of attribute local.
339 340 341 |
# File 'lib/runtime.rb', line 339 def local @local end |
#out_direction ⇒ Object
Returns the value of attribute out_direction.
339 340 341 |
# File 'lib/runtime.rb', line 339 def out_direction @out_direction end |
#remote ⇒ Object
Returns the value of attribute remote.
339 340 341 |
# File 'lib/runtime.rb', line 339 def remote @remote end |
Instance Method Details
#connection_name ⇒ Object
115 116 117 |
# File 'lib/generators/scala_server_generator.rb', line 115 def connection_name "#{@remote.name}ConnectionBase" end |
#connector_name ⇒ Object
166 167 168 |
# File 'lib/generators/unity_client_generator.rb', line 166 def connector_name "#{@remote.name}Connector" end |
#handler_name ⇒ Object
170 171 172 |
# File 'lib/generators/unity_client_generator.rb', line 170 def handler_name "I#{@remote.name}Handler" end |
#service_name ⇒ Object
111 112 113 |
# File 'lib/generators/scala_server_generator.rb', line 111 def service_name "#{@remote.name}Service" end |