nn::nex::RootTransport Class

Syntax

class RootTransport : public nn::nex::RootObject

Description

Used to configure settings for timeout and transport. Sets the timeouts used for connection, disconnection, and NAT traversal, and sets transport tuning parameters.

Enumerated Types

PacketHistoryCount Statistical type value for the number of packets used for PacketHistoryBundling.

Member Functions

S GetNATTraversalTimeout Gets the NAT traversal timeout.
S SetNATTraversalTimeout Sets the NAT traversal timeout. Use the maximum number of players that can participate in the game, multiplied by 3000 to 5000, as a rough guide when setting this timeout.
S GetTransportBufferPoolNum Returns the number of memory pools used as buffers by the transport buffer thread.
S SetTransportBufferPoolNum Sets the number of memory pools used as buffers by the transport buffer thread.
S GetTransportBufferThreadSleepSpan Returns the amount of time to sleep for each TransportBufferThread loop.
S GetTransportBufferThreadPriority Returns the TransportBufferThread priority. Returns the priority level of the thread used for receiving data when the mode is TransportBufferThreadModeMulti.
S SetTransportBufferThreadPriority Sets the TransportBufferThread priority. At the same time, changes the priority level of the thread used for sending data when the mode is TransportBufferThreadModeMulti.
S GetTransportBufferThreadRecvPriority Returns the TransportBufferThread priority for receiving of data.
S SetTransportBufferThreadRecvPriority Sets the TransportBufferThread priority for receiving of data.
S GetTransportBufferThreadSendPriority Returns the TransportBufferThread priority for sending of data.
S SetTransportBufferThreadSendPriority Sets the TransportBufferThread priority for sending of data.
S GetTransportBufferReceiveCount Returns the number of times a TransportBufferThread was received from the socket.
S SetTransportBufferReceiveCount Returns the number of times a TransportBufferThread was received from the socket.
S GetTransportBufferSendCount Gets the number of times that TransportBufferThread is sent for a socket in one loop.
S SetTransportBufferSendCount Sets the number of times that TransportBufferThread is sent for a socket in one loop.
S SetTransportBufferThreadCoreNo Specifies the core number of the CPU used by TransportBufferThread.
S GetTransportBufferThreadCoreNo Gets the core number of the CPU used by TransportBufferThread.
S GetNameResolveThreadPriority Returns the priority level of a thread for name resolution.
S SetNameResolveThreadPriority Sets priority for threads for name resolution.
S SetNameResolveThreadCoreNo Specifies the core number of the CPU used by the thread for name resolution.
S GetNameResolveThreadCoreNo Specifies the core number of the CPU used by the thread for name resolution.
S IsEnablePacketHistoryBundling Returns whether the feature for bundling and re-sending packets previously sent is enabled.
S IsEnableReliablePacketHistoryBundling Returns whether reliable packets that were sent in the past should be bundled.
S IsEnableUnreliablePacketHistoryBundling Returns whether to bundle unreliable packets that were sent in the past.
S IsEnableDOPacketHistoryBundling Returns whether DO packets that were sent in the past are bundled.
S GetPacketHistoryBundlingHoldingTime Returns the amount of time to hold packets for the purpose of bundling and re-sending packets previously sent.
S GetPacketHistoryBundlingMaxHoldingPackets Returns the maximum number of packets to hold for the purpose of bundling and re-sending packets previously sent.
S GetPacketHistoryBundlingMaxRetransmitPackets Returns the maximum number of packets to bundle together at the same time when bundling and resending previously sent packets.
S GetPacketHistoryBundlingMaxRetransmitCounts Returns the maximum number of times that previously sent packets are bundled and resent.
S GetPacketHistoryBundlingForcedRetransmitTimeout The retention time before forcibly resending packets that were sent in the past and have not been bundled.
S GetPacketHistoryBundlingMaximumPacketBytes Returns the upper limit on packet size when rebundling previously sent packets.
S GetPacketHistoryBundlingPacketCounts Returns the statistical value for the number of packets bundled. (Used in debugging.)
S GetPacketHistoryBundlingPacketCount Returns the statistical value for the number of packets bundled. (Used in debugging.)
S EnablePacketHistoryBundling Specifies whether to enable the feature for bundling and re-sending packets previously sent.
S EnableReliablePacketHistoryBundling Specifies whether to bundle and resend reliable packets that were sent in the past.
S EnableUnreliablePacketHistoryBundling Specifies whether to bundle and resend unreliable packets that were sent in the past.
S EnableDOPacketHistoryBundling Specifies whether to bundle and resend DO packets that were sent in the past.
S SetPacketHistoryBundlingHoldingTime Sets the amount of time to hold packets for the purpose of bundling and re-sending packets previously sent.
S SetPacketHistoryBundlingMaxHoldingPackets Sets the maximum number of packets to hold for the purpose of bundling and re-sending packets previously sent.
S SetPacketHistoryBundlingMaxRetransmitPackets Sets the maximum number of packets to bundle together at the same time when bundling and resending previously sent packets.
S SetPacketHistoryBundlingMaxRetransmitCounts The maximum number of times that previously sent packets are bundled and resent.
S SetPacketHistoryBundlingForcedRetransmitTimeout Sets the retention time before forcibly resending packets that were sent in the past and have not been bundled.
S SetPacketHistoryBundlingMaximumPacketBytes Sets the upper limit on packet size when rebundling previously sent packets. The default value is 1364.
S EnableDropDuplicateReorderingUnreliablePackets Specifies whether to drop out-of-order and duplicate packets during unreliable communication.
S IsEnableDropDuplicateReorderingUnreliablePackets Returns whether the feature for dropping duplicated or out-of-order packets during unreliable communication is enabled.
S SetRoutingHistoryUpdateSpan Sets the update interval of the log history of communications that use the master.
S GetRoutingHistoryUpdateSpan Gets the update interval of the log history of communications that use the master.
S SetRoutingHistoryTTL Sets the survival time for the log history of communications that use the master.
S GetRoutingHistoryTTL Gets the survival time of the log history of communications that use the master.
S SetRoutingLimit Limits the number of communications that go through the master.
S GetRoutingLimit Gets the limit on the number of communications that go through the master.
S SetWellKnownPortNumber Sets the well-known port number.
S GetWellKnownPortNumber Gets the well-known port number.
S GetInstance Gets an instance of RootTransport.
GetOutputEmulationDevice Gets the output network emulation device. (For debugging.)
GetInputEmulationDevice Gets the input network emulation device. (For debugging.)

Class Hierarchy

nn::nex::RootObject
  nn::nex::RootTransport

Revision History

2011/01/27
Initial version.

CONFIDENTIAL