このページは編集中です。更新が保留になっている可能性があります。
Photon 5.0 RC1
このページでは、Photon Server SDKバージョンv5.0 RC1 の変更点をまとめています。
V5 BETA SDKをお使いのお客様は、このページを参考にしてください。
Photon 5の機能については、what's newページをご覧ください。
v5.0 RC1 変更ログ
LoadBalancing
FIXED
NEW
CHANGED
Photon Hive Plugins
FIXED
NEW
CHANGED
Photon Hive
FIXED
NEW
CHANGED
PhotonSocketServer
FIXED
NEW
- PSCS-2687: Added a way to schedule or delay disconnects, set the peer's
ConnectionState
toScheduledForDisconnect
and give the server the ability to sendDisconnectMessage
to the peer before disconnecting it.
SendXXXAndDisconnect
got parameter disconnect delay.
Default disconnect delay is 5000 milliseconds.
For s2s communicationSendOperationRequestAndDisconnect
was added. - PSCS-3043: Implemented parsing of
DisconnectMessage
.
S2SPeerBase
got handling of incommingDisconnectMessage
. - PSCS-3374: Added a counter for native calls.
- PSCS-3851: Added a setting to toggle off LogGuard.
- PSCS-3945: Added Init request encryption validation: added check that
ClientKey.Count != 0
and disconnecting peer sending wrong internal request. - PSCS-3947: Merged code for encryption initialization for InitV3 and
AuthOnInitHandler
.
InitRequest
got new propertyIsRejected
. When peer is rejected we assign it toRejectedPeer
and send aDisconnectMessage
instead of InitResponse, we now useRejectWithDelayedResponse
instead of direct setting errorCode and errorMsg. - PSCS-4096: Added
JsonDeserializer
limit: binary size of message increased to 50000 bytes.
AddedJsonParseContext
to carry parse information through the parsing and control process. - PSCS-4133: Added HTTP response payload size limit.
CHANGED
- PSCS-3253: Scheduled actions interval changed from
long
toint
. - PSCS-3956: We transit to new configuration system provided by netcore.
- PSCS-3933: Parameter type of
OnDisconnect
callback method changed fromDisconnectReason
enum toint
.
OnDisconnect(DisconnectReason)
is nowOnDisconnect(int)
.
The parameter values can be a specific disconnect reason (0-5, 100-105, oldDisconnectReason
values) or an error code (3XXXX).OnUnexpectedDataReceived
replaced withOnDeserializationError
.
NameServer
FIXED
NEW
CHANGED
- Implementation of
MasterServerCache.TryGetPhotonEndpoint
updated to not cause warnings.