Class: Quark::DatawireMdkMd::QuarkMockSocketEvent

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

#initializeQuarkMockSocketEvent

Returns a new instance of QuarkMockSocketEvent.



23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
# File 'lib/datawire_mdk_md.rb', line 23868

def initialize()
    
    super("quark.mock.SocketEvent")
    (self).name = "quark.mock.SocketEvent"
    (self).parameters = ::DatawireQuarkCore::List.new([])
    (self).fields = ::DatawireQuarkCore::List.new([::Quark.quark.reflect.Field.new("quark.String", "url"), ::Quark.quark.reflect.Field.new("quark.WSHandler", "handler"), ::Quark.quark.reflect.Field.new("quark.mock.MockSocket", "sock"), ::Quark.quark.reflect.Field.new("quark.int", "expectIdx")])
    (self).methods = ::DatawireQuarkCore::List.new([::Quark.datawire_mdk_md.quark_mock_SocketEvent_getType_Method.new(), ::Quark.datawire_mdk_md.quark_mock_SocketEvent_getArgs_Method.new(), ::Quark.datawire_mdk_md.quark_mock_SocketEvent_accept_Method.new(), ::Quark.datawire_mdk_md.quark_mock_SocketEvent_send_Method.new(), ::Quark.datawire_mdk_md.quark_mock_SocketEvent_close_Method.new(), ::Quark.datawire_mdk_md.quark_mock_SocketEvent_expectMessage_Method.new(), ::Quark.datawire_mdk_md.quark_mock_SocketEvent_expectTextMessage_Method.new(), ::Quark.datawire_mdk_md.quark_mock_SocketEvent_expectBinaryMessage_Method.new(), ::Quark.datawire_mdk_md.quark_mock_SocketEvent_toString_Method.new()])
    (self).parents = ::DatawireQuarkCore::List.new(["quark.mock.MockEvent"])

    nil
end

Instance Method Details

#__init_fields__Object



23918
23919
23920
23921
23922
23923
# File 'lib/datawire_mdk_md.rb', line 23918

def __init_fields__()
    
    super

    nil
end

#_getClassObject



23897
23898
23899
23900
23901
23902
# File 'lib/datawire_mdk_md.rb', line 23897

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

    nil
end

#_getField(name) ⇒ Object



23904
23905
23906
23907
23908
23909
# File 'lib/datawire_mdk_md.rb', line 23904

def _getField(name)
    
    return nil

    nil
end

#_setField(name, value) ⇒ Object



23911
23912
23913
23914
23915
23916
# File 'lib/datawire_mdk_md.rb', line 23911

def _setField(name, value)
    
    nil

    nil
end

#construct(args) ⇒ Object



23883
23884
23885
23886
23887
23888
# File 'lib/datawire_mdk_md.rb', line 23883

def construct(args)
    
    return ::Quark.quark.mock.SocketEvent.new(::DatawireQuarkCore.cast((args)[0]) { ::String }, ::DatawireQuarkCore.cast((args)[1]) { ::Quark.quark.WSHandler })

    nil
end

#isAbstractObject



23890
23891
23892
23893
23894
23895
# File 'lib/datawire_mdk_md.rb', line 23890

def isAbstract()
    
    return false

    nil
end