⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 presentity.java

📁 基于JAINSIP的一个proxy源码
💻 JAVA
字号:
/* * Presentity.java * * Created on October 3, 2002, 6:47 PM */package gov.nist.sip.instantmessaging.presence;import javax.sip.*;import javax.sip.message.*; import javax.sip.header.*;import javax.sip.address.*;import gov.nist.sip.instantmessaging.*;/** * * @author  deruelle * @version 1.0 */public class Presentity  {    private String presentityName;    private String status;    private Response okReceived;    private Dialog dialog;        /** Creates new Presentity */    public Presentity(String presentityName,Response okReceived) {        this.presentityName=presentityName;        this.okReceived=okReceived;        status="offline";    }        public Response getOkReceived() {         return okReceived;    }        public Dialog getDialog() {         return dialog;    }        public void setDialog(Dialog dialog) {         this.dialog=dialog;    }        public String getPresentityName() {        return presentityName;    }        public String getStatus() {        return status;    }        public void setStatus(String status) {        this.status=status;    }    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -