Shadowrun: Awakened 29 September 2011 - Build 871
Public Member Functions
RakNet::UDPProxyClientResultHandler Struct Reference

#include <UDPProxyClient.h>

List of all members.

Public Member Functions

virtual void OnAllServersBusy (SystemAddress proxyCoordinator, SystemAddress sourceAddress, SystemAddress targetAddress, RakNet::UDPProxyClient *proxyClientPlugin)=0
virtual void OnForwardingInProgress (SystemAddress proxyCoordinator, SystemAddress sourceAddress, SystemAddress targetAddress, RakNet::UDPProxyClient *proxyClientPlugin)=0
virtual void OnForwardingNotification (const char *proxyIPAddress, unsigned short proxyPort, SystemAddress proxyCoordinator, SystemAddress sourceAddress, SystemAddress targetAddress, RakNet::UDPProxyClient *proxyClientPlugin)=0
virtual void OnForwardingSuccess (const char *proxyIPAddress, unsigned short proxyPort, SystemAddress proxyCoordinator, SystemAddress sourceAddress, SystemAddress targetAddress, RakNet::UDPProxyClient *proxyClientPlugin)=0
virtual void OnNoServersOnline (SystemAddress proxyCoordinator, SystemAddress sourceAddress, SystemAddress targetAddress, RakNet::UDPProxyClient *proxyClientPlugin)=0
virtual void OnRecipientNotConnected (SystemAddress proxyCoordinator, SystemAddress sourceAddress, SystemAddress targetAddress, RakNetGUID targetGuid, RakNet::UDPProxyClient *proxyClientPlugin)=0
 UDPProxyClientResultHandler ()
virtual ~UDPProxyClientResultHandler ()

Detailed Description

Callback to handle results of calling UDPProxyClient::RequestForwarding()

Definition at line 36 of file UDPProxyClient.h.


Constructor & Destructor Documentation

RakNet::UDPProxyClientResultHandler::UDPProxyClientResultHandler ( ) [inline]

Definition at line 38 of file UDPProxyClient.h.

{}
virtual RakNet::UDPProxyClientResultHandler::~UDPProxyClientResultHandler ( ) [inline, virtual]

Definition at line 39 of file UDPProxyClient.h.

{}

Member Function Documentation

virtual void RakNet::UDPProxyClientResultHandler::OnAllServersBusy ( SystemAddress  proxyCoordinator,
SystemAddress  sourceAddress,
SystemAddress  targetAddress,
RakNet::UDPProxyClient proxyClientPlugin 
) [pure virtual]

Called when our forwarding request failed, because all UDPProxyServers that are connected to UDPProxyCoordinator are at their capacity Either add more servers, or increase capacity via UDPForwarder::SetMaxForwardEntries()

Parameters:
[out]proxyCoordinatorproxyCoordinator parameter originally passed to UDPProxyClient::RequestForwarding
[out]sourceAddresssourceAddress parameter passed to UDPProxyClient::RequestForwarding. If it was UNASSIGNED_SYSTEM_ADDRESS, it is now our external IP address.
[out]targetAddresstargetAddress parameter originally passed to UDPProxyClient::RequestForwarding
[out]proxyClientThe plugin that is calling this callback
virtual void RakNet::UDPProxyClientResultHandler::OnForwardingInProgress ( SystemAddress  proxyCoordinator,
SystemAddress  sourceAddress,
SystemAddress  targetAddress,
RakNet::UDPProxyClient proxyClientPlugin 
) [pure virtual]

Called when our forwarding request is already in progress on the proxyCoordinator. This can be ignored, but indicates an unneeded second request

Parameters:
[out]proxyCoordinatorproxyCoordinator parameter originally passed to UDPProxyClient::RequestForwarding
[out]sourceAddresssourceAddress parameter passed to UDPProxyClient::RequestForwarding. If it was UNASSIGNED_SYSTEM_ADDRESS, it is now our external IP address.
[out]targetAddresstargetAddress parameter originally passed to UDPProxyClient::RequestForwarding
[out]proxyClientThe plugin that is calling this callback
virtual void RakNet::UDPProxyClientResultHandler::OnForwardingNotification ( const char *  proxyIPAddress,
unsigned short  proxyPort,
SystemAddress  proxyCoordinator,
SystemAddress  sourceAddress,
SystemAddress  targetAddress,
RakNet::UDPProxyClient proxyClientPlugin 
) [pure virtual]

Called when another system has setup forwarding, with our system as the target address. Plugin automatically sends a datagram to proxyIPAddress before this callback, to open our router if necessary.

Parameters:
[out]proxyIPAddressIP Address of the proxy server, which will forward messages to targetAddress
[out]proxyPortRemote port to use on the proxy server, which will forward messages to targetAddress
[out]proxyCoordinatorproxyCoordinator parameter originally passed to UDPProxyClient::RequestForwarding
[out]sourceAddresssourceAddress parameter passed to UDPProxyClient::RequestForwarding. This is originating source IP address of the remote system that will be sending to us.
[out]targetAddresstargetAddress parameter originally passed to UDPProxyClient::RequestForwarding. This is our external IP address.
[out]proxyClientThe plugin that is calling this callback
virtual void RakNet::UDPProxyClientResultHandler::OnForwardingSuccess ( const char *  proxyIPAddress,
unsigned short  proxyPort,
SystemAddress  proxyCoordinator,
SystemAddress  sourceAddress,
SystemAddress  targetAddress,
RakNet::UDPProxyClient proxyClientPlugin 
) [pure virtual]

Called when our forwarding request was completed. We can now connect to targetAddress by using proxyAddress instead

Parameters:
[out]proxyIPAddressIP Address of the proxy server, which will forward messages to targetAddress
[out]proxyPortRemote port to use on the proxy server, which will forward messages to targetAddress
[out]proxyCoordinatorproxyCoordinator parameter originally passed to UDPProxyClient::RequestForwarding
[out]sourceAddresssourceAddress parameter passed to UDPProxyClient::RequestForwarding. If it was UNASSIGNED_SYSTEM_ADDRESS, it is now our external IP address.
[out]targetAddresstargetAddress parameter originally passed to UDPProxyClient::RequestForwarding
[out]proxyClientThe plugin that is calling this callback
virtual void RakNet::UDPProxyClientResultHandler::OnNoServersOnline ( SystemAddress  proxyCoordinator,
SystemAddress  sourceAddress,
SystemAddress  targetAddress,
RakNet::UDPProxyClient proxyClientPlugin 
) [pure virtual]

Called when our forwarding request failed, because no UDPProxyServers are connected to UDPProxyCoordinator

Parameters:
[out]proxyCoordinatorproxyCoordinator parameter originally passed to UDPProxyClient::RequestForwarding
[out]sourceAddresssourceAddress parameter passed to UDPProxyClient::RequestForwarding. If it was UNASSIGNED_SYSTEM_ADDRESS, it is now our external IP address.
[out]targetAddresstargetAddress parameter originally passed to UDPProxyClient::RequestForwarding
[out]proxyClientThe plugin that is calling this callback
virtual void RakNet::UDPProxyClientResultHandler::OnRecipientNotConnected ( SystemAddress  proxyCoordinator,
SystemAddress  sourceAddress,
SystemAddress  targetAddress,
RakNetGUID  targetGuid,
RakNet::UDPProxyClient proxyClientPlugin 
) [pure virtual]

Called when our forwarding request failed, because no UDPProxyServers are connected to UDPProxyCoordinator

Parameters:
[out]proxyCoordinatorproxyCoordinator parameter originally passed to UDPProxyClient::RequestForwarding
[out]sourceAddresssourceAddress parameter passed to UDPProxyClient::RequestForwarding. If it was UNASSIGNED_SYSTEM_ADDRESS, it is now our external IP address.
[out]targetAddresstargetAddress parameter originally passed to UDPProxyClient::RequestForwarding
[out]targetGuidtargetGuid parameter originally passed to UDPProxyClient::RequestForwarding
[out]proxyClientThe plugin that is calling this callback

The documentation for this struct was generated from the following file:

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net