Module: R2CORBA::CORBA::Portable::CustomValueBase

Defined in:
lib/corba/cbase/Values.rb,
lib/corba/jbase/Values.rb,
lib/corba/common/Values.rb

Overview

ValueFactoryBase

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(mod) ⇒ Object



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/corba/cbase/Values.rb', line 76

def self.included(mod)
  mod.module_eval do
    include CORBA::ValueBase unless self.include?(CORBA::ValueBase)

    def do_marshal(os)
      self.pre_marshal(os)
      self.marshal(os)
      self.post_marshal(os)
    end

    def do_unmarshal(is)
      self.pre_unmarshal(is)
      self.unmarshal(is)
      self.post_unmarshal(is)
    end
  end
end

Instance Method Details

#marshal(os) ⇒ Object

Raises:

  • (CORBA::NO_IMPLEMENT)


42
43
44
# File 'lib/corba/common/Values.rb', line 42

def marshal(os)
  raise CORBA::NO_IMPLEMENT
end

#unmarshal(is) ⇒ Object

Raises:

  • (CORBA::NO_IMPLEMENT)


46
47
48
# File 'lib/corba/common/Values.rb', line 46

def unmarshal(is)
  raise CORBA::NO_IMPLEMENT
end