Files
metasploit-gs/lib/rex/post/hwbridge/extension.rb
T
Craig Smith 5f07bca775 Hardware Bridge API. Initial bridge API that supports the HW rest protocol specified here:
http://opengarages.org/hwbridge  Supports an automotive extension with UDS calls for mdoule
development.
2017-01-06 19:51:41 -08:00

33 lines
537 B
Ruby

# -*- coding: binary -*-
module Rex
module Post
module HWBridge
###
#
# Base class for all extensions that holds a reference to the
# client context that they are part of. Each extension also has a defined
# name through which it is referenced.
#
###
class Extension
#
# Initializes the client and name attributes.
#
def initialize(client, name)
self.client = client
self.name = name
end
#
# The name of the extension.
#
attr_accessor :name
protected
attr_accessor :client # :nodoc:
end
end; end; end