class Gossiperl::Client::Thrift::DigestEvent

Constants

EVENT_OBJECT
EVENT_TYPE
FIELDS
HEARTBEAT

Public Instance Methods

struct_fields() click to toggle source
# File lib/gossiperl_client/thrift/gossiperl_types.rb, line 365
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/gossiperl_client/thrift/gossiperl_types.rb, line 367
def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field event_type is unset!') unless @event_type
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field event_object is unset!') unless @event_object
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field heartbeat is unset!') unless @heartbeat
end