CCAFFEINE  0.8.8
ProcessorInfo.h
00001 #ifndef __PROCESSORINFO_H__
00002 #define __PROCESSORINFO_H__
00003 
00004 #include <stdio.h>
00005 #include <string.h>
00006 #include "jc++/jc++.h"
00007 #include "jc++/util/jc++util.h"
00008 #ifdef HAVE_CLASSIC
00009 #include <cca.h>
00010 #endif // HAVE_CLASSIC
00011 
00012 
00015 class ProcessorInfo : public JCPN(Object) {
00016  private:
00017   char* name;
00018   boolean isServer_; // true if I am the serve, false if I am the client
00019  public:
00020   ProcessorInfo(/*CFREE */ char* name, boolean isServer);
00021   char* getName() {return name;}
00022   boolean isServer(){ return isServer_;}
00023   // Note: not virtual
00024   ~ProcessorInfo();
00025   /*CFREE*/ char* toString();
00026 };
00027 #endif // __PROCESSORINFO_H__