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
virtual void forward_message_type(vrpn_int32 remote_port, const char *service_name, const char *message_type)=0
vrpn_Connection * d_connection
vrpn_int32 d_start_forwarding_type
Generic connection class not specific to the transport mechanism.
vrpn_Forwarder_List * d_myForwarders
virtual void start_remote_forwarding(vrpn_int32 remote_port)=0
This structure is what is passed to a vrpn_Connection message callback.
vrpn_ConnectionForwarder * forwarder
vrpn_Forwarder_List * next
vrpn_Connection * connection
vrpn_int32 d_forward_type