Class: Wx::DialUpEvent

Inherits:
Event show all
Defined in:
lib/wx/doc/gen/dial_up_event.rb

Overview

This is the event class for the dialup events sent by DialUpManager.

Category: Events

Requires:

  • USE_DIALUP_MANAGER

Instance Method Summary collapse

Methods inherited from Event

#clone, #get_event_category, #get_event_object, #get_event_type, #get_id, #get_skipped, #get_timestamp, #is_command_event, #resume_propagation, #set_event_object, #set_event_type, #set_id, #set_timestamp, #should_propagate, #skip, #stop_propagation

Methods inherited from Object

#clone, #dup, #is_same_as, #un_share

Constructor Details

#initialize(isConnected, isOwnEvent) ⇒ Wx::DialUpEvent

Constructor is only used by Wx::DialUpManager.

Parameters:

  • isConnected (Boolean)
  • isOwnEvent (Boolean)


26
# File 'lib/wx/doc/gen/dial_up_event.rb', line 26

def initialize(isConnected, isOwnEvent) end

Instance Method Details

#is_connected_eventBoolean Also known as: connected_event?

Is this a CONNECTED or DISCONNECTED event? In other words, does it notify about transition from offline to online state or vice versa?

Returns:

  • (Boolean)


30
# File 'lib/wx/doc/gen/dial_up_event.rb', line 30

def is_connected_event; end

#is_own_eventBoolean Also known as: own_event?

Does this event come from Wx::DialUpManager#dial or from some external process (i.e.

does it result from our own attempt to establish the connection)?

Returns:

  • (Boolean)


37
# File 'lib/wx/doc/gen/dial_up_event.rb', line 37

def is_own_event; end