public class GwProfile extends Configure
Modifier and Type | Field and Description |
---|---|
boolean |
do_active_interception
Whether injecting new media flows.
|
boolean |
do_interception
Whether intercepting media traffics.
|
boolean |
keepalive_aggressive
Whether sending keepalive datagram to all contacted UAs (also toward non-registered UAs)
|
long |
keepalive_time
Rate of keep-alive datagrams sent toward all registered UAs (in milliseconds).
|
java.lang.String |
media_addr
Media address.
|
java.util.Vector |
media_ports
Available media ports (default interval=[37000:37399]).
|
java.lang.String |
sink_addr
Sink address for media traffic interception.
|
int |
sink_port
Sink port for media traffic interception.
|
Constructor and Description |
---|
GwProfile()
Costructs a new GwProfile
|
GwProfile(java.lang.String file)
Costructs a new GwProfile
|
Modifier and Type | Method and Description |
---|---|
protected void |
parseLine(java.lang.String line)
Parses a single line (loaded from the config file)
|
protected java.lang.String |
toLines()
Converts the entire object into lines (to be saved into the config file)
|
public long keepalive_time
public boolean keepalive_aggressive
public boolean do_interception
public boolean do_active_interception
public java.lang.String sink_addr
public int sink_port
public java.lang.String media_addr
public java.util.Vector media_ports
public GwProfile()
public GwProfile(java.lang.String file)