nn::nex::SocketTransport Class

Syntax

class SocketTransport : public nn::nex::RootTransport

Description

Represents transport layer sockets.

Enumerated Types

PacketHistoryCount Statistical type value for the number of packets used for PacketHistoryBundling. (Inherits RootTransport.)

Member Constants

S INVALID_THREAD_PRIORITY Symbol that represents an invalid priority.

Member Functions

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

Class Hierarchy

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

Revision History

2012/01/26
Initial version.

CONFIDENTIAL