Public Member Functions | |
| PROUD_API | RmiContext (MessagePriority priority, MessageReliability reliability, int unreliableS2CRoutedMulticastMaxCount, EncryptMode encryptMode=EM_None) |
| PROUD_API void | AssureValidation () const |
Public Attributes | |
| bool | m_relayed |
| HostID | m_sentFrom |
| int | m_unreliableS2CRoutedMulticastMaxCount |
| int | m_unreliableS2CRoutedMulticastMaxPingMs |
| int | m_maxDirectP2PMulticastCount |
| int64_t | m_uniqueID |
| MessagePriority | m_priority |
| MessageReliability | m_reliability |
| bool | m_enableLoopback |
| void * | m_hostTag |
| bool | m_enableP2PJitTrigger |
| bool | m_allowRelaySend |
| double | m_forceRelayThresholdRatio |
| bool | m_INTERNAL_USE_isProudNetSpecificRmi |
| bool | m_fragmentOnNeed |
| EncryptMode | m_encryptMode |
| CompressMode | m_compressMode |
Static Public Attributes | |
| static PROUD_API RmiContext | ReliableSend |
| static PROUD_API RmiContext | FastEncryptedReliableSend |
| static PROUD_API RmiContext | SecureReliableSend |
| static PROUD_API RmiContext | UnreliableSend |
| static PROUD_API RmiContext | FastEncryptedUnreliableSend |
| static PROUD_API RmiContext | SecureUnreliableSend |
| static PROUD_API RmiContext | UnreliableS2CRoutedMulticast |
Networkign nature related to RMI calling and others
|
static |
Encrypt with EM_Fast mode then put this as parameter when you call RMI with Reliable message.
|
static |
Encrypt with EM_Fast mode then put this as parameter when you call RMI with Reliable message.
| bool Proud::RmiContext::m_allowRelaySend |
While this value is false if opponent is relay mode then do not send it.
| CompressMode Proud::RmiContext::m_compressMode |
TODO:translate needed.
| bool Proud::RmiContext::m_enableLoopback |
While this value is false if there are 2 or more RMI receivers then excludes the messaging to itself(loopback). Default is true.
| EncryptMode Proud::RmiContext::m_encryptMode |
통신 메시지 암호화하기 에서 사용되는 암호화 알고리즘 선택입니다.
| double Proud::RmiContext::m_forceRelayThresholdRatio |
Forced relay critical rate value. If you change this value, it can select relay instead of P2P communication when relay is faster than P2p communication.
-For example, If packet sending time is 3 times slower than relay through a server, you may relay it through server even it can send to peer directly. This case set this value to 1/3. Also if it is 5 times slower then set 1/5. If you set 0, it does not do forced relay. Therefore it does forced relay when "Relay p2p ping / Direct p2p ping" is smaller than this value.
| bool Proud::RmiContext::m_fragmentOnNeed |
Sends messages after fragmentation. Turn off this if you get higher CPU usage at server. Turned on by default.
| void* Proud::RmiContext::m_hostTag |
User defined tag value. A User-defined data(Tag) for each host function.
| bool Proud::RmiContext::m_INTERNAL_USE_isProudNetSpecificRmi |
Identifying value that message for only ProudNet or not
| int Proud::RmiContext::m_maxDirectP2PMulticastCount |
The maximum number of direct multicast can be performed
|
mutable |
Message trnasmission priority
| bool Proud::RmiContext::m_relayed |
Is this a relaysed message?
| MessageReliability Proud::RmiContext::m_reliability |
Message trnasmission method
| HostID Proud::RmiContext::m_sentFrom |
HostID of peer that transmitted RMI
| int64_t Proud::RmiContext::m_uniqueID |
Unique ID for Transmitting the latest message only.
| int Proud::RmiContext::m_unreliableS2CRoutedMulticastMaxCount |
If unreliable send, can perform routed multicast. This is where to decide how many of them are allowed.
| int Proud::RmiContext::m_unreliableS2CRoutedMulticastMaxPingMs |
If unreliable messaging, can perform routed multicast. This is where to decide which rate of laggy P2P communications are allowed.
|
static |
This is to be entered as parameter when calling RMI as reliable message.
|
static |
Encrypt with EM_Secure mode then put this as parameter when you call RMI with Reliable message.
|
static |
Encrypt with EM_Secure mode then put this as parameter when you call RMI with Reliable message.
|
static |
This is unreliable server to client multicast message and this is to be entered as parameter when calling RMI.
|
static |
This is to be entered as parameter when calling RMI as reliable message.
Reference