Scroll to navigation

Net::Jabber::Loudmouth::Message(3pm) User Contributed Perl Documentation Net::Jabber::Loudmouth::Message(3pm)

NAME

Net::Jabber::Loudmouth::Message - Jabber message

HIERARCHY

  Glib::Boxed
  +----Net::Jabber::Loudmouth::Message

METHODS

message = Net::Jabber::Loudmouth::Message->new ($to, $type)

  • $to (string)
  • $type (Net::Jabber::Loudmouth::MessageType)

message = Net::Jabber::Loudmouth::Message->new_with_sub_type ($to, $type, $sub_type)

  • $to (string)
  • $type (Net::Jabber::Loudmouth::MessageType)
  • $sub_type (Net::Jabber::Loudmouth::MessageSubType)

messagenode = $message->get_node

messagesubtype = $message->get_sub_type

messagetype = $message->get_type

ENUMS AND FLAGS

enum Net::Jabber::Loudmouth::MessageSubType

  • 'not-set' / 'LM_MESSAGE_SUB_TYPE_NOT_SET'
  • 'available' / 'LM_MESSAGE_SUB_TYPE_AVAILABLE'
  • 'normal' / 'LM_MESSAGE_SUB_TYPE_NORMAL'
  • 'chat' / 'LM_MESSAGE_SUB_TYPE_CHAT'
  • 'groupchat' / 'LM_MESSAGE_SUB_TYPE_GROUPCHAT'
  • 'headline' / 'LM_MESSAGE_SUB_TYPE_HEADLINE'
  • 'unavailable' / 'LM_MESSAGE_SUB_TYPE_UNAVAILABLE'
  • 'probe' / 'LM_MESSAGE_SUB_TYPE_PROBE'
  • 'subscribe' / 'LM_MESSAGE_SUB_TYPE_SUBSCRIBE'
  • 'unsubscribe' / 'LM_MESSAGE_SUB_TYPE_UNSUBSCRIBE'
  • 'subscribed' / 'LM_MESSAGE_SUB_TYPE_SUBSCRIBED'
  • 'unsubscribed' / 'LM_MESSAGE_SUB_TYPE_UNSUBSCRIBED'
  • 'get' / 'LM_MESSAGE_SUB_TYPE_GET'
  • 'set' / 'LM_MESSAGE_SUB_TYPE_SET'
  • 'result' / 'LM_MESSAGE_SUB_TYPE_RESULT'
  • 'error' / 'LM_MESSAGE_SUB_TYPE_ERROR'

enum Net::Jabber::Loudmouth::MessageType

  • 'message' / 'LM_MESSAGE_TYPE_MESSAGE'
  • 'presence' / 'LM_MESSAGE_TYPE_PRESENCE'
  • 'iq' / 'LM_MESSAGE_TYPE_IQ'
  • 'stream' / 'LM_MESSAGE_TYPE_STREAM'
  • 'stream-error' / 'LM_MESSAGE_TYPE_STREAM_ERROR'
  • 'stream-features' / 'LM_MESSAGE_TYPE_STREAM_FEATURES'
  • 'auth' / 'LM_MESSAGE_TYPE_AUTH'
  • 'challenge' / 'LM_MESSAGE_TYPE_CHALLENGE'
  • 'response' / 'LM_MESSAGE_TYPE_RESPONSE'
  • 'success' / 'LM_MESSAGE_TYPE_SUCCESS'
  • 'failure' / 'LM_MESSAGE_TYPE_FAILURE'
  • 'proceed' / 'LM_MESSAGE_TYPE_PROCEED'
  • 'starttls' / 'LM_MESSAGE_TYPE_STARTTLS'
  • 'unknown' / 'LM_MESSAGE_TYPE_UNKNOWN'

SEE ALSO

Net::Jabber::Loudmouth, Glib::Boxed

COPYRIGHT

Copyright (C) 2005 by Florian Ragwitz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

2024-03-07 perl v5.38.2