Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Configuration.java
Package: SIP-applet-phone.zip [view]
Upload User: liulanlin
Upload Date: 2017-12-08
Package Size: 1274k
Code Size: 1k
Category:
VOIP program
Development Platform:
Java
- /*
- * Configuration.java
- *
- * Created on November 17, 2003, 6:07 PM
- */
- package gov.nist.applet.phone.ua;
- import java.net.InetAddress;
- import java.net.UnknownHostException;
- /**
- * This class represents the configuration of the user agent
- *
- * @author DERUELLE Jean
- */
- public class Configuration {
- // Stack:
- public static long latency4VoiceMessaging=5000;
- public String stackName;
- public String stackIPAddress;
- public String contactIPAddress;
- public String outboundProxy;
- public int proxyPort;
- public int listeningPort;
- public String signalingTransport;
- public String mediaTransport;
- public String retransmissionFilter;
- public String httpBusy;
- public String userURI;
- /** Creates a new instance of Configuration */
- public Configuration() {
- stackName="Jain-Sip-Meeting-User-Agent";
- try{
- stackIPAddress=InetAddress.getLocalHost().getHostAddress();
- contactIPAddress=stackIPAddress;
- //stackIPAddress="192.168.2.14";
- }
- catch(UnknownHostException uhe){
- uhe.printStackTrace();
- }
- retransmissionFilter="false";
- outboundProxy="129.6.55.182";
- proxyPort=4000;
- listeningPort=new java.util.Random().nextInt(8975)+1024;
- signalingTransport="udp";
- mediaTransport="tcp";
- userURI="mranga@nist.gov";
- httpBusy="http://www.google.com";
- }
- }