org.mobicents.media.server.spi
Enum ConnectionMode
java.lang.Object
java.lang.Enum<ConnectionMode>
org.mobicents.media.server.spi.ConnectionMode
- All Implemented Interfaces:
- Serializable, Comparable<ConnectionMode>
public enum ConnectionMode
- extends Enum<ConnectionMode>
This enum represent connection mode:
- INACTIVE - This is default mode where there is not tx or rx of media
- SEND_ONLY - only send
- RECV_ONLY - only receive
- SEND_RECV - send and receive
- Author:
- baranowb, amit bhayani
INACTIVE
public static final ConnectionMode INACTIVE
SEND_ONLY
public static final ConnectionMode SEND_ONLY
RECV_ONLY
public static final ConnectionMode RECV_ONLY
SEND_RECV
public static final ConnectionMode SEND_RECV
CONFERENCE
public static final ConnectionMode CONFERENCE
NETWORK_LOOPBACK
public static final ConnectionMode NETWORK_LOOPBACK
LOOPBACK
public static final ConnectionMode LOOPBACK
CONTINUITY_TEST
public static final ConnectionMode CONTINUITY_TEST
NETWORK_CONTINUITY_TEST
public static final ConnectionMode NETWORK_CONTINUITY_TEST
values
public static ConnectionMode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ConnectionMode c : ConnectionMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ConnectionMode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
valueOf
public static ConnectionMode valueOf(Text v)
Copyright © 2011. All Rights Reserved.