Package | Description |
---|---|
org.jivesoftware.smack.filter |
Allows
PacketCollector and PacketListener instances to filter for packets with particular attributes. |
org.jivesoftware.smack.packet |
XML packets that are part of the XMPP protocol.
|
Constructor and Description |
---|
MessageTypeFilter(Message.Type type)
Creates a new message type filter using the specified message type.
|
Modifier and Type | Method and Description |
---|---|
static Message.Type |
Message.Type.fromString(String name) |
Message.Type |
Message.getType()
Returns the type of the message.
|
static Message.Type |
Message.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Type[] |
Message.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Message.setType(Message.Type type)
Sets the type of the message.
|
Constructor and Description |
---|
Message(String to,
Message.Type type)
Creates a new message of the specified type to a recipient.
|