NetworkTopology

public enum NetworkTopology

Carrier network topology for session peers related to each other.

Enum Constants

LAN

public static final NetworkTopology LAN

LAN network topology.

P2P

public static final NetworkTopology P2P

P2P network topology,

Relayed

public static final NetworkTopology Relayed

Relayed netowrk topology.

Methods

format

public static String format(NetworkTopology type)

Get the fully formatized string of network topology type.

Parameters
  • type – The network topology instance.

Returns

The formatized string of network topology.

toString

public String toString()

Get fully formatized string.

Returns

The fully formatized string.

value

public int value()

Get netowrk topology type.

Returns

The topology value.

valueOf

public static NetworkTopology valueOf(int type)

Get network topolgoy.

Parameters
  • type – The value of topolgoy.

Throws
Returns

The network topology instance.