public enum MessageSessionType extends Enum<MessageSessionType>
MessageSessionType enumerates all available session
types for sending messages (and receiving replies) in the SDP
Messaging. This property can be set in the MessageInfo associated
with a Message.
Sample Usage: Message.getMessageInfo().setSession(MessageSessionType .FULL_SESSION);
| Enum Constant and Description |
|---|
FULL_SESSION
Indicates full session is required.
|
INBOUND_SESSION
Indicates inbound session is required.
|
NO_SESSION
Indicates no session is required.
|
OUTBOUND_SESSION
Indicates outbound session is required.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageSessionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageSessionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageSessionType NO_SESSION
public static final MessageSessionType OUTBOUND_SESSION
public static final MessageSessionType INBOUND_SESSION
public static final MessageSessionType FULL_SESSION
public static MessageSessionType[] values()
for (MessageSessionType c : MessageSessionType.values()) System.out.println(c);
public static MessageSessionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2009,2013 Oracle and/or its affiliates. All rights reserved.