System Generated Events

The following Events are generated by the system.

Event::APP_STARTUP

Generated when Tonido starts up.


Event::APP_SHUTDOWN

Generated when Tonido starts up.


Event::PROFILE_LOGIN

Generated when a profile logins into Tonido

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::PROFILE_LOGIN as string
   [Defs::Profile::MS_PROFILE][Defs::Profile::S_PEERID] = Tonido ID of the profile that logged in as string

Event::PROFILE_LOGOUT

Generated when a profile logs out of Tonido


Event::NETWORK_ENABLE

Generated when the Tonido Network is enabled


Event::NETWORK_DISABLE

Generated when the Tonido Network is disabled


Event::NETWORK_ONLINE

Generated when the Tonido Network is online (connected to TDS)


Event::NETWORK_OFFLINE

Generated when the Tonido Network is offline (disconnected from TDS)


Event::PEER_NETWORK_CONNECT

Generated when the a peer connects to us at the network level

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::PEER_NETWORK_CONNECT as string
   [Defs::Network::MS_NETWORK][Defs::Network::S_CONNECTION_MASTER] = whether we are the connection master boolean
   [Defs::Network::MS_NETWORK][Defs::Network::S_PEER_ID] = Tonido ID of the connecting peer as string

Event::PEER_NETWORK_DISCONNECT

Generated when the a peer disconnects from us at the network level

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::PEER_NETWORK_CONNECT as string
   [Defs::Network::MS_NETWORK][Defs::Network::S_PEER_ID] = Tonido ID of the disconnecting peer as string

Event::PEER_CONNECT

Generated when a Tonido Peer who is part of a group connects to us

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::PEER_CONNECT as string
   [Defs::Network::MS_NETWORK][Defs::Network::S_PEER_ID] = Tonido ID as string

Event::PEER_DISCONNECT

Generated when a Tonido Peer who is part of a group disconnects from us

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::PEER_CONNECT as string
   [Defs::Network::MS_NETWORK][Defs::Network::S_PEER_ID] = Tonido ID as string

Event::PEER_ONLINE

Generated when a Tonido Peer is reported as online

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::PEER_CONNECT as string
   [Defs::Network::MS_NETWORK][Defs::Network::S_PEER_ID] = Tonido ID as string

Event::PEER_OFFLINE

Generated when a Tonido Peer is reported as offline

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::PEER_CONNECT as string
   [Defs::Network::MS_NETWORK][Defs::Network::S_PEER_ID] = Tonido ID as string

Event::GROUP_ADDED

Generated when a new group is added to the system.

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::GROUP_ADDED as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_GROUP_NAME] = Group Name as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_GROUP_ID]   = Group Id (UUID) as string

Event::GROUP_REMOVED

Generated when a new group is removed from the system.

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::GROUP_ADDED as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_GROUP_NAME] = Group Name as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_GROUP_ID]   = Group Id (UUID) as string

Event::USER_ADDED

Generated when a new Tonido Peer has been added to list of contacts

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::GROUP_ADDED as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_USER_ID] = Tonido ID as string

Event::USER_REMOVED

Generated when a new Tonido Peer has been removed from list of contacts

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::GROUP_ADDED as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_USER_ID] = Tonido ID as string

Event::GROUP_USER_ADDED

Generated when a new Tonido Peer has been added to a group

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::GROUP_USER_ADDED as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_GROUP_NAME] = Group Name as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_GROUP_ID]   = Group Id (UUID) as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_USER_ID]    = Tonido Peer ID as string

Event::GROUP_USER_REMOVED

Generated when a new Tonido Peer has been removed from a group

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::GROUP_USER_REMOVED as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_GROUP_NAME] = Group Name as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_GROUP_ID]   = Group Id (UUID) as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_USER_ID]    = Tonido Peer ID as string

Event::FILE_RECEIVED

Generated when a file has been received via the Core File Transfer Service

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::FILE_RECEIVED as string
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_ORIG_OWNER_PEER] = Tonido ID as string who is the owner
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_SOURCE_PEER] = Tonido ID as string who is the source(will be same as owner)
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_GROUP_ID] = GroupID (UUID) as string  
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_NAME] = File Name as String
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_REQ_OFFSET] = Offset of the file as Int64_bt chunk being transfered 
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_CHUNK_SIZE] = Length of the file as Int64_bt chunk being transfered 
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_COMPLETE] = Indicates if file is complete (uint32_bt)
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_FULL_CHKSUM] = Checksum of the file as String
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_SOURCE_SVC] = Name of the Service who originated this request as String
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_FULL_SIZE] = Full size of the file as Int64_bt
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_TOKEN] = Service specific token as String

Event::FILE_REJECTED

Generated when a file request has been rejected via the Core File Transfer Service

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::FILE_REJECTED as string
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_ORIG_OWNER_PEER] = Tonido ID as string who is the owner
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_SOURCE_PEER] = Tonido ID as string who is the source(will be same as owner)
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_GROUP_ID] = GroupID (UUID) as string  
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_NAME] = File Name as String
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_REQ_OFFSET] = Offset of the file as Int64_bt chunk being transfered 
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_CHUNK_SIZE] = Length of the file as Int64_bt chunk being transfered 
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_SOURCE_SVC] = Name of the Service who originated this request as String
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_FULL_SIZE] = Full size of the file as Int64_bt
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_TOKEN] = Service specific token as String

Event::FILE_RECV_STARTED

Generated when a file chunk has been received

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::FILE_RECV_STARTED as string
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_ORIG_OWNER_PEER] = Tonido ID as string who is the owner
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_SOURCE_PEER] = Tonido ID as string who is the source(will be same as owner)
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_GROUP_ID] = GroupID (UUID) as string  
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_NAME] = File Name as String
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_REQ_OFFSET] = Offset of the file as Int64_bt chunk being transfered 
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_CHUNK_SIZE] = Length of the file as Int64_bt chunk being transfered 
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_SOURCE_SVC] = Name of the Service who originated this request as String
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_FULL_SIZE] = Full size of the file as Int64_bt
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_TOKEN] = Service specific token as String
   [Defs::FileTransfer::MS_FILE_INFO][FT::FILE_PIECE_CHKSUM] = Checksum as string of the piece

Event::INVITATION_ACCEPTED

Generated when a group invitation has been accepted

   [Defs::Notifier::S_EVENTN][Defs::Notifier::S_EVENTN_NAME] = Event::INVITATION_ACCEPTED as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_GROUP_ID] = Group ID (UUID) as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_GROUP_NAME] = Group Name as string
   [Defs::User::MS_BOOT_USERMANAGER][Defs::User::S_PEER_ADDED_TOGROUP] = Tonido ID as string


Generated on Wed Oct 12 2011 21:46:52. © CodeLathe LLC 2007-2011. All Rights Reserved.