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

📄 notificationdetails.java

📁 SMPP(点到点短消息协议)的java实现
💻 JAVA
字号:
package ie.omk.smpp.event;

import ie.omk.smpp.Connection;
import ie.omk.smpp.message.SMPPPacket;

class NotificationDetails {
    private Connection connection;
    private SMPPEvent event;
    private SMPPPacket packet;

    public NotificationDetails() {
    }
    
    public Connection getConnection() {
        return connection;
    }


    public void setConnection(Connection conn) {
        this.connection = conn;
    }


    public SMPPEvent getEvent() {
        return event;
    }


    public void setEvent(SMPPEvent event) {
        this.event = event;
    }


    public SMPPPacket getPacket() {
        return packet;
    }


    public void setPacket(SMPPPacket pak) {
        this.packet = pak;
    }


    public void setDetails(Connection c, SMPPEvent e, SMPPPacket p) {
        connection = c;
        event = e;
        packet = p;
    }
    
    public boolean hasEvent() {
        return event != null;
    }
}

⌨️ 快捷键说明

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