Class: Javonet
- Inherits:
-
Object
- Object
- Javonet
- Defined in:
- lib/javonet-ruby-sdk.rb
Class Method Summary collapse
- .activate(licenceKey, proxyHost = "", proxyUserName = "", proxyPassword = "") ⇒ Object
- .in_memory ⇒ Object
- .tcp(address) ⇒ Object
Class Method Details
.activate(licenceKey, proxyHost = "", proxyUserName = "", proxyPassword = "") ⇒ Object
19 20 21 |
# File 'lib/javonet-ruby-sdk.rb', line 19 def self.activate(licenceKey, proxyHost="", proxyUserName="", proxyPassword="") return Transmitter.activate_with_credentials_and_proxy(licenceKey, proxyHost, proxyUserName, proxyPassword) end |
.in_memory ⇒ Object
9 10 11 12 |
# File 'lib/javonet-ruby-sdk.rb', line 9 def self.in_memory connection_type = ConnectionType::IN_MEMORY return RuntimeFactory.new(connection_type) end |
.tcp(address) ⇒ Object
14 15 16 17 |
# File 'lib/javonet-ruby-sdk.rb', line 14 def self.tcp(address) connection_type = ConnectionType::TCP return RuntimeFactory.new(connection_type, address) end |