public interface OperationSetBasicInstantMessagingTransport extends OperationSet
Modifier and Type | Field and Description |
---|---|
static int |
UNLIMITED
Constant value indicating unlimited size or number.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxMessageSize(Contact contact)
Compute the maximum message size for a messaging being sent to the
provided contact.
|
int |
getMaxNumberOfMessages(Contact contact)
Compute the maximum number of consecutive messages allowed to be sent to
this contact.
|
static final int UNLIMITED
int getMaxMessageSize(Contact contact)
If there is no limit to the message size, please use constant
UNLIMITED
.
contact
- the contact to which the message will be sentint getMaxNumberOfMessages(Contact contact)
If there is no limit to the number of messages, please use constant
UNLIMITED
.
contact
- the contact to which the messages are sent
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.