📄 uniinfo.java
字号:
/*
JaNetSim --- Java Network Simulator
-------------------------------------
This software was developed at the Network Research Lab, Faculty of
Computer Science and Information Technology (FCSIT), University of Malaya.
This software may be used and distributed freely. FCSIT assumes no responsibility
whatsoever for its use by other parties, and makes no guarantees, expressed or
implied, about its quality, reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
FCSIT ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING
FROM THE USE OF THIS SOFTWARE.
*/
package janetsim.component;
import janetsim.*;
public class UNIInfo implements java.io.Serializable {
//UNI Message type constants:
public static final int UNI_SETUP = 1;
public static final int UNI_CALL_PROCEEDING = 2;
public static final int UNI_CONNECT = 3;
public static final int UNI_CONNECT_ACK = 4;
public static final int UNI_RELEASE = 5;
public static final int UNI_RELEASE_COMPLETE = 6;
//UNI Connection type constants:
public static final int CON_CBR = 1;
public static final int CON_VBR = 2;
public static final int CON_AF1 = 3;
public static final int CON_AF2 = 4;
public static final int CON_AF3 = 5;
public static final int CON_AF4 = 6;
public static final int CON_ABR = 7;
public static final int CON_UBR = 8;
public int callref=0;
public int msgtype=0;
public int contype=0;
public String calledNSAP="0";
public int calledport=0;
public int newvpi=0;
public int newvci=0;
public SimComponent srccomp=null;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -