📄 pushdataitem.java
字号:
/*------------------------------------------------------------------------------Name: PushDataItem.javaProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE fileComment: Handling callback over http------------------------------------------------------------------------------*/package org.xmlBlaster.protocol.http;/** * Little helper container to hold data which is pushed to browser */public class PushDataItem{ /** To mark pushed pings */ public static final int PING=0; /** To mark pushed messages */ public static final int MESSAGE=1; /** To mark pushed logging/errors */ public static final int LOGGING=1; public PushDataItem(int type, String data) { this.type = type; this.data = data; } /** * messages or any other administrative pushs? */ public int type; public String data;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -