Public Member Functions | |
RmiContext (MessagePriority priority, MessageReliability reliability, int unreliableS2CRoutedMulticastMaxCount, EncryptMode encryptMode=EM_None) | |
void | AssureValidation () const |
Public Attributes | |
bool | m_relayed |
HostID | m_sentFrom |
int | m_unreliableS2CRoutedMulticastMaxCount |
int | m_unreliableS2CRoutedMulticastMaxPingMs |
int | m_maxDirectP2PMulticastCount |
int64_t | m_uniqueID |
bool | m_fillSendFailedRemotes |
CFastArray< SendFailedRemote > | m_sendFailedRemotes |
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 |
RmiID | m_rmiID |
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. This is the message compression feature. When things other than CM_None is selected for this value, you can compress to send the message.
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 |
통신 메시지 암호화하기 에서 사용되는 암호화 알고리즘 선택입니다.
bool Proud::RmiContext::m_fillSendFailedRemotes |
송신이 실패할 경우 송신 실패 대상에 대한 정보를 채울 것인지를 나타냅니다.
m_sendFailedRemotes를 위해 사용됩니다. 기본값은 false입니다.
주의: 이 변수를 켜면, 송신함수가 m_sendFailedRemotes를 변경합니다. 서로 다른 스레드가 같은 RmiContext 객체를 다루지 않도록 주의하십시오.
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. If true, the message used in unreliable transmission is divided and sent into MTU size. Turn this off if the server has high CPU use due to UDP processing. The default value is true.
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
RmiID Proud::RmiContext::m_rmiID |
m_rmiID is used to identify which RMI packets are being processed within ProudNet. RmiID
CFastArray<SendFailedRemote> Proud::RmiContext::m_sendFailedRemotes |
송신이 실패할 경우 여기에 송신 실패 대상이 채워집니다.
m_fillSendFailedRemotes=true일때만 채워집니다.
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