class Gossiperl::Client::Thrift::DigestSubscription

Constants

EVENT_TYPE
FIELDS
HEARTBEAT
MEMBER_NAME
ORIGIN

Public Instance Methods

struct_fields() click to toggle source
# File lib/gossiperl_client/thrift/gossiperl_types.rb, line 156
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/gossiperl_client/thrift/gossiperl_types.rb, line 158
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 member_name is unset!') unless @member_name
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field origin is unset!') unless @origin
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field heartbeat is unset!') unless @heartbeat
end