#ifndef _RMIRegistry_h__ #define _RMIRegistry_h__ #include #include "temp.h" //#include // already included in Component.h #include "Constants.h" #include #include #include #include #include #include #include #include #include "hpcxx_byte.h" #include "HPCxx_String.h" #include "BindObject.h" template class RMIRegistry { private: nexus_startpoint_t registryStartpoint; nexus_startpoint_t localStartpoint; nexus_startpoint_t remoteObjStartpoint; public: RMIRegistry(); int bindRegistry(HPCxx_GlobalPtr gp, HPCxx_String rmiURL, HPCxx_String FQN); int rebindRegistry(HPCxx_GlobalPtr gp, HPCxx_String rmiURL, HPCxx_String FQN); void attachToRegistry(char *registryHost, unsigned short port); static int registrationID() { return 355; } ~RMIRegistry(); friend void hpcxx_pack(HPCxx_Buffer &buf, RMIRegistry *t,int count); friend void hpcxx_unpack(HPCxx_Buffer &buf, RMIRegistry *t,int count); }; #endif // _RMIRegistry_h__