1 #ifndef VRPN_FORWARDER_CONTROLLER_H
2 #define VRPN_FORWARDER_CONTROLLER_H
46 virtual void start_remote_forwarding(vrpn_int32 remote_port) = 0;
51 virtual void forward_message_type(vrpn_int32 remote_port,
52 const char *service_name,
53 const char *message_type) = 0;
63 static char *encode_start_remote_forwarding(vrpn_int32 *length,
64 vrpn_int32 remote_port);
65 static char *encode_forward_message_type(vrpn_int32 *length,
66 vrpn_int32 remote_port,
67 const char *service_name,
68 const char *message_type);
70 static void decode_start_remote_forwarding(
const char *buffer,
71 vrpn_int32 *remote_port);
72 static void decode_forward_message_type(
const char *buffer,
73 vrpn_int32 *remote_port,
97 virtual void mainloop(
void);
102 const char *service_name,
103 const char *message_type);
127 const char *service_name,
128 const char *message_type);
131 #endif // VRPN_FORWARDER_CONTROLLER_H