1#ifndef VRPN_FORWARDER_CONTROLLER_H
2#define VRPN_FORWARDER_CONTROLLER_H
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);
99 virtual vrpn_bool start_remote_forwarding(vrpn_int32 remote_port);
101 virtual void forward_message_type(vrpn_int32 remote_port,
102 const char *service_name,
103 const char *message_type);
124 virtual vrpn_bool start_remote_forwarding(vrpn_int32 remote_port);
126 virtual void forward_message_type(vrpn_int32 remote_port,
127 const char *service_name,
128 const char *message_type);
Generic connection class not specific to the transport mechanism.
vrpn_Connection * d_connection
vrpn_int32 d_forward_type
virtual void forward_message_type(vrpn_int32 remote_port, const char *service_name, const char *message_type)=0
virtual vrpn_bool start_remote_forwarding(vrpn_int32 remote_port)=0
vrpn_int32 d_start_forwarding_type
vrpn_Forwarder_List * d_myForwarders
vrpn_Forwarder_List * next
vrpn_ConnectionForwarder * forwarder
vrpn_Connection * connection
This structure is what is passed to a vrpn_Connection message callback.