Class: Quark::DatawireMdkMd::MdkDiscoveryProtocolDiscoClient

Inherits:
Object
  • Object
show all
Extended by:
DatawireQuarkCore::Static
Defined in:
lib/datawire_mdk_md.rb

Constant Summary

Constants included from DatawireQuarkCore::Static

DatawireQuarkCore::Static::Unassigned

Instance Method Summary collapse

Methods included from DatawireQuarkCore::Static

_lazy_statics, static, unlazy_statics

Constructor Details

#initializeMdkDiscoveryProtocolDiscoClient

Returns a new instance of MdkDiscoveryProtocolDiscoClient.



43422
43423
43424
43425
43426
43427
43428
43429
43430
43431
43432
# File 'lib/datawire_mdk_md.rb', line 43422

def initialize()
    
    super("mdk_discovery.protocol.DiscoClient")
    (self).name = "mdk_discovery.protocol.DiscoClient"
    (self).parameters = ::DatawireQuarkCore::List.new([])
    (self).fields = ::DatawireQuarkCore::List.new([::Quark.quark.reflect.Field.new("mdk_discovery.FailurePolicyFactory", "_failurePolicyFactory"), ::Quark.quark.reflect.Field.new("mdk_runtime.actors.MessageDispatcher", "_dispatcher"), ::Quark.quark.reflect.Field.new("mdk_runtime.Time", "_timeService"), ::Quark.quark.reflect.Field.new("mdk_runtime.actors.Actor", "_subscriber"), ::Quark.quark.reflect.Field.new("mdk_protocol.WSClient", "_wsclient"), ::Quark.quark.reflect.Field.new("quark.Map<quark.String,mdk_discovery.Cluster>", "registered"), ::Quark.quark.reflect.Field.new("quark.Logger", "dlog"), ::Quark.quark.reflect.Field.new("quark.long", "lastHeartbeat"), ::Quark.quark.reflect.Field.new("mdk_runtime.actors.Actor", "sock")])
    (self).methods = ::DatawireQuarkCore::List.new([::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_onStart_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_onStop_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_onMessage_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_onMessageFromServer_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_onWSConnected_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_onPump_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient__register_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_active_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_expire_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_resolve_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_onActive_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_onExpire_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_heartbeat_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_protocol_DiscoClient_shutdown_Method.new()])
    (self).parents = ::DatawireQuarkCore::List.new(["quark.Object"])

    nil
end

Instance Method Details

#__init_fields__Object



43472
43473
43474
43475
43476
43477
# File 'lib/datawire_mdk_md.rb', line 43472

def __init_fields__()
    
    super

    nil
end

#_getClassObject



43451
43452
43453
43454
43455
43456
# File 'lib/datawire_mdk_md.rb', line 43451

def _getClass()
    
    return ::DatawireQuarkCore.cast(nil) { ::String }

    nil
end

#_getField(name) ⇒ Object



43458
43459
43460
43461
43462
43463
# File 'lib/datawire_mdk_md.rb', line 43458

def _getField(name)
    
    return nil

    nil
end

#_setField(name, value) ⇒ Object



43465
43466
43467
43468
43469
43470
# File 'lib/datawire_mdk_md.rb', line 43465

def _setField(name, value)
    
    nil

    nil
end

#construct(args) ⇒ Object



43437
43438
43439
43440
43441
43442
# File 'lib/datawire_mdk_md.rb', line 43437

def construct(args)
    
    return ::Quark.mdk_discovery.protocol.DiscoClient.new(::DatawireQuarkCore.cast((args)[0]) { ::Quark.mdk_runtime.actors.Actor }, ::DatawireQuarkCore.cast((args)[1]) { ::Quark.mdk_protocol.WSClient }, ::DatawireQuarkCore.cast((args)[2]) { ::Quark.mdk_runtime.MDKRuntime })

    nil
end

#isAbstractObject



43444
43445
43446
43447
43448
43449
# File 'lib/datawire_mdk_md.rb', line 43444

def isAbstract()
    
    return false

    nil
end