lib/corosync/quorum.rb
# The IO object containing the file descriptor notifications come across.
# You can use this to check for activity, but do not read anything from it.
# @return [IO]
The IO object containing the file descriptor notifications come across.
You can use this to check for activity, but do not read anything from it.
The IO object containing the file descriptor notifications come across . You can use this to check for activity but do not read anything from it .
def callback_notify(handle, quorate, ring_id, view_list_entries, view_list_ptr)
		return if !@callback_notify
		view_list = view_list_ptr.read_array_of_type(FFI.find_type(:uint32), :read_uint32, view_list_entries)
		@callback_notify.call(quorate > 0, view_list)
	end
def callback_notify ( handle , quorate , ring_id , view_list_entries , view_list_ptr ) return if ! @callback_notify view_list = view_list_ptr . read_array_of_type ( FFI . find_type ( :uint32 ) , :read_uint32 , view_list_entries ) @callback_notify . call ( quorate > 0 , view_list ) end
The IO object containing the file descriptor notifications come across.
The IO object containing the file descriptor notifications come across .
#view_list = [] #view_list_entries.times do |i| #view_list << (view_list_ptr + i * FFI.type_size(:uint32)).read_uint32 #end
None
IO
handle
<not_specific>
quorate
<not_specific>
ring_id
<not_specific>
view_list_entries
<not_specific>
view_list_ptr
<not_specific>