KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgroups > tests > adaptjms > Request


1 package org.jgroups.tests.adaptjms;
2
3 import java.io.Serializable JavaDoc;
4
5 /**
6  * @author Bela Ban Jan 11
7  * @author 2004
8  * @version $Id: Request.java,v 1.1 2004/02/20 22:54:05 belaban Exp $
9  */

10 public class Request implements Serializable JavaDoc {
11     final static int DISCOVERY_REQ=1;
12     final static int NEW_MEMBER=2;
13     final static int DATA=3;
14
15     int type=0;
16     Object JavaDoc arg=null;
17
18     Request(int type, Object JavaDoc arg) {
19         this.type=type;
20         this.arg=arg;
21     }
22
23 }
24
Popular Tags