메소드 | 설명 | |
---|---|---|
AttachTransport ( |
||
Connect ( TransportProtocol protocol, FunEncoding type, Fun.HostAddr addr ) : bool | ||
CreateFunMessage ( object msg, MessageType msg_type ) : FunMessage | ||
DetachTransport ( TransportProtocol protocol ) : void | ||
FunapiNetwork ( bool session_reliability = false ) : UnityEngine | ||
GetDefaultProtocol ( ) : TransportProtocol | ||
GetEncoding ( TransportProtocol protocol ) : FunEncoding | ||
GetMessage ( FunMessage msg, MessageType msg_type ) : object | ||
GetMessageProtocol ( string msg_type ) : TransportProtocol | ||
GetTransport ( TransportProtocol protocol ) : |
||
HasTransport ( TransportProtocol protocol ) : bool | ||
LastErrorCode ( TransportProtocol protocol ) : ErrorCode | ||
LastErrorMessage ( TransportProtocol protocol ) : string | ||
Reconnect ( TransportProtocol protocol ) : bool | ||
Redirect ( TransportProtocol protocol, Fun.HostAddr addr, bool keep_session_id = false ) : bool | ||
RegisterHandler ( string type, MessageEventHandler handler ) : void | ||
RegisterHandlerWithProtocol ( string type, TransportProtocol protocol, MessageEventHandler handler ) : void | ||
SendMessage ( MessageType msg_type, object message, EncryptionType encryption = EncryptionType.kDefaultEncryption, TransportProtocol protocol = TransportProtocol.kDefault, string expected_reply_type = null, float expected_reply_time = 0f, TimeoutEventHandler onReplyMissed = null ) : void | ||
SendMessage ( MessageType msg_type, object message, string expected_reply_type, float expected_reply_time, TimeoutEventHandler onReplyMissed ) : void | ||
SendMessage ( string msg_type, object message, EncryptionType encryption = EncryptionType.kDefaultEncryption, TransportProtocol protocol = TransportProtocol.kDefault, string expected_reply_type = null, float expected_reply_time = 0f, TimeoutEventHandler onReplyMissed = null ) : void | ||
SendMessage ( string msg_type, object message, string expected_reply_type, float expected_reply_time, TimeoutEventHandler onReplyMissed ) : void | ||
SetDefaultProtocol ( TransportProtocol protocol ) : void | ||
SetMessageProtocol ( TransportProtocol protocol, string msg_type ) : void | ||
Start ( ) : void | ||
StartTransport ( TransportProtocol protocol ) : void | ||
Stop ( bool clear_all = true ) : void | ||
StopTransport ( TransportProtocol protocol ) : void | ||
Update ( ) : void |
메소드 | 설명 | |
---|---|---|
AddExpectedReply ( |
||
CheckTransportConnection ( TransportProtocol protocol ) : void | ||
CloseSession ( ) : void | ||
DeleteExpectedReply ( string reply_type ) : void | ||
FindOtherTransport ( TransportProtocol protocol ) : |
||
InitSession ( ) : void | ||
OnAckReceived ( |
||
OnClientPingMessage ( |
||
OnConnectTimeout ( TransportProtocol protocol ) : void | ||
OnMaintenanceMessage ( string msg_type, object body ) : void | ||
OnNewSession ( string msg_type, object body ) : void | ||
OnPingTimerEvent ( object param ) : void | ||
OnSeqReceived ( |
||
OnServerPingMessage ( |
||
OnSessionTimedout ( string msg_type, object body ) : void | ||
OnStoppedAllTransportCallback ( ) : void | ||
OnTransportConnectFailure ( TransportProtocol protocol ) : void | ||
OnTransportDisconnected ( TransportProtocol protocol ) : void | ||
OnTransportFailure ( TransportProtocol protocol, |
||
OnTransportReceived ( TransportProtocol protocol, string>.Dictionary |
||
OnTransportStarted ( TransportProtocol protocol ) : void | ||
OnTransportStopped ( TransportProtocol protocol ) : void | ||
OpenSession ( string session_id ) : void | ||
PrepareSession ( string session_id ) : void | ||
ProcessMessage ( TransportProtocol protocol, ArraySegment |
||
SendAck ( |
||
SendEmptyMessage ( TransportProtocol protocol ) : void | ||
SendPingMessage ( |
||
SendUnsentMessages ( ) : void | ||
SeqLess ( |
||
SetTransportStarted ( |
||
StartPingTimer ( |
||
StartTransport ( |
||
StopPingTimer ( |
||
StopTransport ( |
public AttachTransport ( |
||
transport | ||
리턴 | void |
public Connect ( TransportProtocol protocol, FunEncoding type, Fun.HostAddr addr ) : bool | ||
protocol | TransportProtocol | |
type | FunEncoding | |
addr | Fun.HostAddr | |
리턴 | bool |
public CreateFunMessage ( object msg, MessageType msg_type ) : FunMessage | ||
msg | object | |
msg_type | MessageType | |
리턴 | FunMessage |
public DetachTransport ( TransportProtocol protocol ) : void | ||
protocol | TransportProtocol | |
리턴 | void |
public FunapiNetwork ( bool session_reliability = false ) : UnityEngine | ||
session_reliability | bool | |
리턴 | UnityEngine |
public GetEncoding ( TransportProtocol protocol ) : FunEncoding | ||
protocol | TransportProtocol | |
리턴 | FunEncoding |
public GetMessage ( FunMessage msg, MessageType msg_type ) : object | ||
msg | FunMessage | |
msg_type | MessageType | |
리턴 | object |
public GetMessageProtocol ( string msg_type ) : TransportProtocol | ||
msg_type | string | |
리턴 | TransportProtocol |
public GetTransport ( TransportProtocol protocol ) : |
||
protocol | TransportProtocol | |
리턴 |
public HasTransport ( TransportProtocol protocol ) : bool | ||
protocol | TransportProtocol | |
리턴 | bool |
public LastErrorCode ( TransportProtocol protocol ) : ErrorCode | ||
protocol | TransportProtocol | |
리턴 | ErrorCode |
public LastErrorMessage ( TransportProtocol protocol ) : string | ||
protocol | TransportProtocol | |
리턴 | string |
public Reconnect ( TransportProtocol protocol ) : bool | ||
protocol | TransportProtocol | |
리턴 | bool |
public Redirect ( TransportProtocol protocol, Fun.HostAddr addr, bool keep_session_id = false ) : bool | ||
protocol | TransportProtocol | |
addr | Fun.HostAddr | |
keep_session_id | bool | |
리턴 | bool |
public RegisterHandler ( string type, MessageEventHandler handler ) : void | ||
type | string | |
handler | MessageEventHandler | |
리턴 | void |
public RegisterHandlerWithProtocol ( string type, TransportProtocol protocol, MessageEventHandler handler ) : void | ||
type | string | |
protocol | TransportProtocol | |
handler | MessageEventHandler | |
리턴 | void |
public SendMessage ( MessageType msg_type, object message, EncryptionType encryption = EncryptionType.kDefaultEncryption, TransportProtocol protocol = TransportProtocol.kDefault, string expected_reply_type = null, float expected_reply_time = 0f, TimeoutEventHandler onReplyMissed = null ) : void | ||
msg_type | MessageType | |
message | object | |
encryption | EncryptionType | |
protocol | TransportProtocol | |
expected_reply_type | string | |
expected_reply_time | float | |
onReplyMissed | TimeoutEventHandler | |
리턴 | void |
public SendMessage ( MessageType msg_type, object message, string expected_reply_type, float expected_reply_time, TimeoutEventHandler onReplyMissed ) : void | ||
msg_type | MessageType | |
message | object | |
expected_reply_type | string | |
expected_reply_time | float | |
onReplyMissed | TimeoutEventHandler | |
리턴 | void |
public SendMessage ( string msg_type, object message, EncryptionType encryption = EncryptionType.kDefaultEncryption, TransportProtocol protocol = TransportProtocol.kDefault, string expected_reply_type = null, float expected_reply_time = 0f, TimeoutEventHandler onReplyMissed = null ) : void | ||
msg_type | string | |
message | object | |
encryption | EncryptionType | |
protocol | TransportProtocol | |
expected_reply_type | string | |
expected_reply_time | float | |
onReplyMissed | TimeoutEventHandler | |
리턴 | void |
public SendMessage ( string msg_type, object message, string expected_reply_type, float expected_reply_time, TimeoutEventHandler onReplyMissed ) : void | ||
msg_type | string | |
message | object | |
expected_reply_type | string | |
expected_reply_time | float | |
onReplyMissed | TimeoutEventHandler | |
리턴 | void |
public SetDefaultProtocol ( TransportProtocol protocol ) : void | ||
protocol | TransportProtocol | |
리턴 | void |
public SetMessageProtocol ( TransportProtocol protocol, string msg_type ) : void | ||
protocol | TransportProtocol | |
msg_type | string | |
리턴 | void |
public StartTransport ( TransportProtocol protocol ) : void | ||
protocol | TransportProtocol | |
리턴 | void |
public StopTransport ( TransportProtocol protocol ) : void | ||
protocol | TransportProtocol | |
리턴 | void |