Class: Quark::DatawireMdkMd::QuarkMockMockRuntimeServeHTTPMethod

Inherits:
Object
  • Object
show all
Defined in:
lib/datawire_mdk_md.rb

Instance Method Summary collapse

Constructor Details

#initializeQuarkMockMockRuntimeServeHTTPMethod

Returns a new instance of QuarkMockMockRuntimeServeHTTPMethod.



26048
26049
26050
26051
26052
26053
# File 'lib/datawire_mdk_md.rb', line 26048

def initialize()
    
    super("quark.void", "serveHTTP", ::DatawireQuarkCore::List.new(["quark.String", "quark.HTTPServlet"]))

    nil
end

Instance Method Details

#__init_fields__Object



26088
26089
26090
26091
26092
26093
# File 'lib/datawire_mdk_md.rb', line 26088

def __init_fields__()
    
    super

    nil
end

#_getClassObject



26067
26068
26069
26070
26071
26072
# File 'lib/datawire_mdk_md.rb', line 26067

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

    nil
end

#_getField(name) ⇒ Object



26074
26075
26076
26077
26078
26079
# File 'lib/datawire_mdk_md.rb', line 26074

def _getField(name)
    
    return nil

    nil
end

#_setField(name, value) ⇒ Object



26081
26082
26083
26084
26085
26086
# File 'lib/datawire_mdk_md.rb', line 26081

def _setField(name, value)
    
    nil

    nil
end

#invoke(object, args) ⇒ Object



26058
26059
26060
26061
26062
26063
26064
26065
# File 'lib/datawire_mdk_md.rb', line 26058

def invoke(object, args)
    
    obj = ::DatawireQuarkCore.cast(object) { ::Quark.quark.mock.MockRuntime }
    obj.serveHTTP(::DatawireQuarkCore.cast((args)[0]) { ::String }, ::DatawireQuarkCore.cast((args)[1]) { ::Quark.quark.HTTPServlet })
    return nil

    nil
end