Class: Solace::AddressLookupTable
- Inherits:
-
Object
- Object
- Solace::AddressLookupTable
- Includes:
- Concerns::BinarySerializable
- Defined in:
- lib/solace/address_lookup_table.rb
Instance Attribute Summary collapse
-
#account ⇒ String
The account key of the address lookup table.
-
#readonly_indexes ⇒ Array<Integer>
The readonly indexes in the address lookup table.
-
#writable_indexes ⇒ Array<Integer>
The writable indexes in the address lookup table.
Class Method Summary collapse
-
.deserialize(io) ⇒ Solace::AddressLookupTable
Parse address lookup table from io stream.
Instance Method Summary collapse
-
#serialize ⇒ String
Serialize the address lookup table.
Methods included from Concerns::BinarySerializable
Instance Attribute Details
#account ⇒ String
Returns The account key of the address lookup table.
23 24 25 |
# File 'lib/solace/address_lookup_table.rb', line 23 def account @account end |
#readonly_indexes ⇒ Array<Integer>
Returns The readonly indexes in the address lookup table.
31 32 33 |
# File 'lib/solace/address_lookup_table.rb', line 31 def readonly_indexes @readonly_indexes end |
#writable_indexes ⇒ Array<Integer>
Returns The writable indexes in the address lookup table.
27 28 29 |
# File 'lib/solace/address_lookup_table.rb', line 27 def writable_indexes @writable_indexes end |
Class Method Details
.deserialize(io) ⇒ Solace::AddressLookupTable
Parse address lookup table from io stream
38 39 40 |
# File 'lib/solace/address_lookup_table.rb', line 38 def deserialize(io) Solace::Serializers::AddressLookupTableDeserializer.call(io) end |
Instance Method Details
#serialize ⇒ String
Serialize the address lookup table
46 47 48 |
# File 'lib/solace/address_lookup_table.rb', line 46 def serialize Solace::Serializers::AddressLookupTableSerializer.call(self) end |