pushdataitem.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 31 行

JAVA
31
字号
/*------------------------------------------------------------------------------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 + =
减小字号Ctrl + -
显示快捷键?