Files
hjha-server/dll_new/FastSocket.Server.xml
xiaoou e9616125ce feat: initial commit - HJHA game server full source
6 major server modules (PdkFriendServer/GlobalSever/ServerCore/GameModule/GameNetModule) +
game logic (GameFix/GameDAL/ServerData) +
network layer (NetWorkMessage) +
data layer (ObjectModel) +
utilities (MrWu/Core/Config/CloudAPI/dll) +
adapters (zyxAdapter/base)

.NET 8.0 C# solution, 16 projects, 958 source files
2026-07-07 12:02:15 +08:00

664 lines
27 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0"?>
<doc>
<assembly>
<name>FastSocket.Server</name>
</assembly>
<members>
<member name="P:Sodao.FastSocket.Server.Config.ServerConfig.Name">
<summary>
名称
</summary>
</member>
<member name="P:Sodao.FastSocket.Server.Config.ServerConfig.Port">
<summary>
端口
</summary>
</member>
<member name="P:Sodao.FastSocket.Server.Config.ServerConfig.SocketBufferSize">
<summary>
Socket Buffer Size
</summary>
</member>
<member name="P:Sodao.FastSocket.Server.Config.ServerConfig.MessageBufferSize">
<summary>
Message Buffer Size
</summary>
</member>
<member name="P:Sodao.FastSocket.Server.Config.ServerConfig.MaxMessageSize">
<summary>
MaxMessageSize
</summary>
</member>
<member name="P:Sodao.FastSocket.Server.Config.ServerConfig.MaxConnections">
<summary>
最大链接数
</summary>
</member>
<member name="T:Sodao.FastSocket.Server.ISocketListener">
<summary>
socket listener
</summary>
</member>
<member name="E:Sodao.FastSocket.Server.ISocketListener.Accepted">
<summary>
socket accepted event
</summary>
</member>
<member name="P:Sodao.FastSocket.Server.ISocketListener.EndPoint">
<summary>
get endpoint
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.ISocketListener.Start">
<summary>
start listen
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.ISocketListener.Stop">
<summary>
stop listen
</summary>
</member>
<member name="T:Sodao.FastSocket.Server.ISocketService`1">
<summary>
socket service interface.
</summary>
<typeparam name="TMessage"></typeparam>
</member>
<member name="M:Sodao.FastSocket.Server.ISocketService`1.OnConnected(Sodao.FastSocket.SocketBase.IConnection)">
<summary>
当建立socket连接时会调用此方法
</summary>
<param name="connection"></param>
</member>
<member name="M:Sodao.FastSocket.Server.ISocketService`1.OnSendCallback(Sodao.FastSocket.SocketBase.IConnection,Sodao.FastSocket.SocketBase.Packet,System.Boolean)">
<summary>
发送回调
</summary>
<param name="connection"></param>
<param name="packet"></param>
<param name="isSuccess"></param>
</member>
<member name="M:Sodao.FastSocket.Server.ISocketService`1.OnReceived(Sodao.FastSocket.SocketBase.IConnection,`0)">
<summary>
当接收到客户端新消息时,会调用此方法.
</summary>
<param name="connection"></param>
<param name="message"></param>
</member>
<member name="M:Sodao.FastSocket.Server.ISocketService`1.OnDisconnected(Sodao.FastSocket.SocketBase.IConnection,System.Exception)">
<summary>
当socket连接断开时会调用此方法
</summary>
<param name="connection"></param>
<param name="ex"></param>
</member>
<member name="M:Sodao.FastSocket.Server.ISocketService`1.OnException(Sodao.FastSocket.SocketBase.IConnection,System.Exception)">
<summary>
当发生异常时,会调用此方法
</summary>
<param name="connection"></param>
<param name="ex"></param>
</member>
<member name="T:Sodao.FastSocket.Server.IUdpServer">
<summary>
upd server interface
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.IUdpServer.Start">
<summary>
开始
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.IUdpServer.Stop">
<summary>
stop
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.IUdpServer.SendTo(System.Net.EndPoint,System.Byte[])">
<summary>
异步发送
</summary>
<param name="endPoint"></param>
<param name="payload"></param>
</member>
<member name="T:Sodao.FastSocket.Server.IUdpServer`1">
<summary>
upd server interface
</summary>
<typeparam name="TMessage"></typeparam>
</member>
<member name="T:Sodao.FastSocket.Server.AbsUdpService`1">
<summary>
udp service
</summary>
<typeparam name="TMessage"></typeparam>
</member>
<member name="M:Sodao.FastSocket.Server.AbsUdpService`1.OnReceived(Sodao.FastSocket.Server.UdpSession,`0)">
<summary>
on message received
</summary>
<param name="session"></param>
<param name="message"></param>
</member>
<member name="M:Sodao.FastSocket.Server.AbsUdpService`1.OnError(Sodao.FastSocket.Server.UdpSession,System.Exception)">
<summary>
on error
</summary>
<param name="session"></param>
<param name="ex"></param>
</member>
<member name="T:Sodao.FastSocket.Server.IUdpService`1">
<summary>
udp service interface.
</summary>
<typeparam name="TMessage"></typeparam>
</member>
<member name="M:Sodao.FastSocket.Server.IUdpService`1.OnReceived(Sodao.FastSocket.Server.UdpSession,`0)">
<summary>
on message received
</summary>
<param name="session"></param>
<param name="message"></param>
</member>
<member name="M:Sodao.FastSocket.Server.IUdpService`1.OnError(Sodao.FastSocket.Server.UdpSession,System.Exception)">
<summary>
on error.
</summary>
<param name="session"></param>
<param name="ex"></param>
</member>
<member name="T:Sodao.FastSocket.Server.Messaging.IMessage">
<summary>
message interface
</summary>
</member>
<member name="T:Sodao.FastSocket.Server.Messaging.CommandLineMessage">
<summary>
command line message.
</summary>
</member>
<member name="F:Sodao.FastSocket.Server.Messaging.CommandLineMessage.CmdName">
<summary>
get the current command name.
</summary>
</member>
<member name="F:Sodao.FastSocket.Server.Messaging.CommandLineMessage.Parameters">
<summary>
参数
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.Messaging.CommandLineMessage.#ctor(System.String,System.String[])">
<summary>
new
</summary>
<param name="cmdName"></param>
<param name="parameters"></param>
<exception cref="T:System.ArgumentNullException">cmdName is null</exception>
</member>
<member name="M:Sodao.FastSocket.Server.Messaging.CommandLineMessage.Reply(Sodao.FastSocket.SocketBase.IConnection,System.String)">
<summary>
reply
</summary>
<param name="connection"></param>
<param name="value"></param>
<exception cref="T:System.ArgumentNullException">connection is null</exception>
</member>
<member name="M:Sodao.FastSocket.Server.Messaging.CommandLineMessage.ToPacket(System.String)">
<summary>
to <see cref="T:Sodao.FastSocket.SocketBase.Packet"/>
</summary>
<param name="value"></param>
<returns></returns>
<exception cref="T:System.ArgumentNullException">value is null</exception>
</member>
<member name="T:Sodao.FastSocket.Server.Messaging.ThriftMessage">
<summary>
thrift message.
</summary>
</member>
<member name="F:Sodao.FastSocket.Server.Messaging.ThriftMessage.Payload">
<summary>
payload
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.Messaging.ThriftMessage.#ctor(System.Byte[])">
<summary>
new
</summary>
<param name="payload"></param>
</member>
<member name="T:Sodao.FastSocket.Server.Protocol.IUdpProtocol`1">
<summary>
upd protocol
</summary>
<typeparam name="TMessage"></typeparam>
</member>
<member name="M:Sodao.FastSocket.Server.Protocol.IUdpProtocol`1.Parse(System.ArraySegment{System.Byte})">
<summary>
parse protocol message
</summary>
<param name="buffer"></param>
<returns></returns>
</member>
<member name="M:Sodao.FastSocket.Server.Protocol.MessagePackProtocol.Parse(Sodao.FastSocket.SocketBase.IConnection,System.ArraySegment{System.Byte},System.Int32,System.Int32@)">
<summary>
parse
</summary>
<param name="connection"></param>
<param name="buffer"></param>
<param name="maxMessageSize"></param>
<param name="readlength"></param>
<returns></returns>
<exception cref="T:Sodao.FastSocket.Server.Protocol.BadProtocolException">bad thrift protocol</exception>
</member>
<member name="T:Sodao.FastSocket.Server.Protocol.BadProtocolException">
<summary>
bad protocol exception
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.Protocol.BadProtocolException.#ctor">
<summary>
new
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.Protocol.BadProtocolException.#ctor(System.String)">
<summary>
new
</summary>
<param name="message"></param>
</member>
<member name="T:Sodao.FastSocket.Server.Protocol.CommandLineProtocol">
<summary>
命令行协议
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.Protocol.CommandLineProtocol.Parse(Sodao.FastSocket.SocketBase.IConnection,System.ArraySegment{System.Byte},System.Int32,System.Int32@)">
<summary>
parse
</summary>
<param name="connection"></param>
<param name="buffer"></param>
<param name="maxMessageSize"></param>
<param name="readlength"></param>
<returns></returns>
<exception cref="T:Sodao.FastSocket.Server.Protocol.BadProtocolException">bad command line protocol</exception>
</member>
<member name="T:Sodao.FastSocket.Server.Protocol.ProtocolNames">
<summary>
ProtocolNames
</summary>
</member>
<member name="F:Sodao.FastSocket.Server.Protocol.ProtocolNames.Thrift">
<summary>
thrift协议
</summary>
</member>
<member name="F:Sodao.FastSocket.Server.Protocol.ProtocolNames.CommandLine">
<summary>
命令行协议
</summary>
</member>
<member name="T:Sodao.FastSocket.Server.Protocol.IProtocol`1">
<summary>
tcp协议接口
</summary>
<typeparam name="TMessage"></typeparam>
</member>
<member name="M:Sodao.FastSocket.Server.Protocol.IProtocol`1.Parse(Sodao.FastSocket.SocketBase.IConnection,System.ArraySegment{System.Byte},System.Int32,System.Int32@)">
<summary>
parse protocol message
</summary>
<param name="connection"></param>
<param name="buffer"></param>
<param name="maxMessageSize"></param>
<param name="readlength"></param>
<returns></returns>
</member>
<member name="T:Sodao.FastSocket.Server.Protocol.ThriftProtocol">
<summary>
thrift protocol
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.Protocol.ThriftProtocol.Parse(Sodao.FastSocket.SocketBase.IConnection,System.ArraySegment{System.Byte},System.Int32,System.Int32@)">
<summary>
parse
</summary>
<param name="connection"></param>
<param name="buffer"></param>
<param name="maxMessageSize"></param>
<param name="readlength"></param>
<returns></returns>
<exception cref="T:Sodao.FastSocket.Server.Protocol.BadProtocolException">bad thrift protocol</exception>
</member>
<member name="T:Sodao.FastSocket.Server.SocketListener">
<summary>
socket listener
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.SocketListener.#ctor(System.Net.IPEndPoint,Sodao.FastSocket.SocketBase.IHost)">
<summary>
new
</summary>
<param name="endPoint"></param>
<param name="host"></param>
<exception cref="T:System.ArgumentNullException">endPoint is null</exception>
<exception cref="T:System.ArgumentNullException">host is null</exception>
</member>
<member name="E:Sodao.FastSocket.Server.SocketListener.Accepted">
<summary>
socket accepted event
</summary>
</member>
<member name="P:Sodao.FastSocket.Server.SocketListener.EndPoint">
<summary>
get listener endPoint
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.SocketListener.Start">
<summary>
start
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.SocketListener.Stop">
<summary>
stop
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.SocketListener.AcceptAsync(System.Net.Sockets.Socket)">
<summary>
accept socket.
</summary>
<param name="socket"></param>
</member>
<member name="M:Sodao.FastSocket.Server.SocketListener.AcceptCompleted(System.Object,System.Net.Sockets.SocketAsyncEventArgs)">
<summary>
async accept socket completed handle.
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="T:Sodao.FastSocket.Server.AbsSocketService`1">
<summary>
abstract socket service interface.
</summary>
<typeparam name="TMessage"></typeparam>
</member>
<member name="M:Sodao.FastSocket.Server.AbsSocketService`1.OnConnected(Sodao.FastSocket.SocketBase.IConnection)">
<summary>
当建立socket连接时会调用此方法
</summary>
<param name="connection"></param>
</member>
<member name="M:Sodao.FastSocket.Server.AbsSocketService`1.OnSendCallback(Sodao.FastSocket.SocketBase.IConnection,Sodao.FastSocket.SocketBase.Packet,System.Boolean)">
<summary>
发送回调
</summary>
<param name="connection"></param>
<param name="packet"></param>
<param name="isSuccess"></param>
</member>
<member name="M:Sodao.FastSocket.Server.AbsSocketService`1.OnReceived(Sodao.FastSocket.SocketBase.IConnection,`0)">
<summary>
当接收到客户端新消息时,会调用此方法.
</summary>
<param name="connection"></param>
<param name="message"></param>
</member>
<member name="M:Sodao.FastSocket.Server.AbsSocketService`1.OnDisconnected(Sodao.FastSocket.SocketBase.IConnection,System.Exception)">
<summary>
当socket连接断开时会调用此方法
</summary>
<param name="connection"></param>
<param name="ex"></param>
</member>
<member name="M:Sodao.FastSocket.Server.AbsSocketService`1.OnException(Sodao.FastSocket.SocketBase.IConnection,System.Exception)">
<summary>
当发生异常时,会调用此方法
</summary>
<param name="connection"></param>
<param name="ex"></param>
</member>
<member name="T:Sodao.FastSocket.Server.SocketServer`1">
<summary>
socket server.
</summary>
<typeparam name="TMessage"></typeparam>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServer`1.#ctor(System.Int32,Sodao.FastSocket.Server.ISocketService{`0},Sodao.FastSocket.Server.Protocol.IProtocol{`0},System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>
new
</summary>
<param name="port"></param>
<param name="socketService"></param>
<param name="protocol"></param>
<param name="socketBufferSize"></param>
<param name="messageBufferSize"></param>
<param name="maxMessageSize"></param>
<param name="maxConnections"></param>
<exception cref="T:System.ArgumentNullException">socketService is null.</exception>
<exception cref="T:System.ArgumentNullException">protocol is null.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">maxMessageSize</exception>
<exception cref="T:System.ArgumentOutOfRangeException">maxConnections</exception>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServer`1.OnAccepted(Sodao.FastSocket.Server.ISocketListener,Sodao.FastSocket.SocketBase.IConnection)">
<summary>
socket accepted handler
</summary>
<param name="listener"></param>
<param name="connection"></param>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServer`1.Start">
<summary>
start
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServer`1.Stop">
<summary>
stop
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServer`1.OnConnected(Sodao.FastSocket.SocketBase.IConnection)">
<summary>
OnConnected
</summary>
<param name="connection"></param>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServer`1.OnSendCallback(Sodao.FastSocket.SocketBase.IConnection,Sodao.FastSocket.SocketBase.Packet,System.Boolean)">
<summary>
send callback
</summary>
<param name="connection"></param>
<param name="packet"></param>
<param name="isSuccess"></param>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServer`1.OnMessageReceived(Sodao.FastSocket.SocketBase.IConnection,Sodao.FastSocket.SocketBase.MessageReceivedEventArgs)">
<summary>
OnMessageReceived
</summary>
<param name="connection"></param>
<param name="e"></param>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServer`1.OnDisconnected(Sodao.FastSocket.SocketBase.IConnection,System.Exception)">
<summary>
OnDisconnected
</summary>
<param name="connection"></param>
<param name="ex"></param>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServer`1.OnConnectionError(Sodao.FastSocket.SocketBase.IConnection,System.Exception)">
<summary>
on connection error
</summary>
<param name="connection"></param>
<param name="ex"></param>
</member>
<member name="T:Sodao.FastSocket.Server.SocketServerManager">
<summary>
Socket server manager.
</summary>
</member>
<member name="F:Sodao.FastSocket.Server.SocketServerManager._dicHosts">
<summary>
key:server name.
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServerManager.AddHost``1(System.String,Sodao.FastSocket.Server.SocketServer{``0})">
<summary>
初始化
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServerManager.GetProtocol(System.String)">
<summary>
get protocol.
</summary>
<param name="protocol"></param>
<returns></returns>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServerManager.Start">
<summary>
启动服务
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServerManager.Stop">
<summary>
停止服务
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.SocketServerManager.TryGetHost(System.String,Sodao.FastSocket.SocketBase.IHost@)">
<summary>
try get host by name.
</summary>
<param name="name"></param>
<param name="host"></param>
<returns></returns>
</member>
<member name="T:Sodao.FastSocket.Server.UdpServer`1">
<summary>
upd server
</summary>
<typeparam name="TMessage"></typeparam>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.#ctor(System.Int32,Sodao.FastSocket.Server.Protocol.IUdpProtocol{`0},Sodao.FastSocket.Server.IUdpService{`0})">
<summary>
new
</summary>
<param name="port"></param>
<param name="protocol"></param>
<param name="service"></param>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.#ctor(System.Int32,System.Int32,Sodao.FastSocket.Server.Protocol.IUdpProtocol{`0},Sodao.FastSocket.Server.IUdpService{`0})">
<summary>
new
</summary>
<param name="port"></param>
<param name="messageBufferSize"></param>
<param name="protocol"></param>
<param name="service"></param>
<exception cref="T:System.ArgumentNullException">protocol is null.</exception>
<exception cref="T:System.ArgumentNullException">service is null.</exception>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.BeginReceive(System.Net.Sockets.SocketAsyncEventArgs)">
<summary>
异步接收数据
</summary>
<param name="e"></param>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.ReceiveCompleted(System.Object,System.Net.Sockets.SocketAsyncEventArgs)">
<summary>
completed handle
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.Start">
<summary>
start
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.Stop">
<summary>
stop
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.SendTo(System.Net.EndPoint,System.Byte[])">
<summary>
send to...
</summary>
<param name="endPoint"></param>
<param name="payload"></param>
</member>
<member name="T:Sodao.FastSocket.Server.UdpServer`1.AsyncSendPool">
<summary>
用于异步发送的<see cref="T:System.Net.Sockets.SocketAsyncEventArgs"/>对象池
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.AsyncSendPool.#ctor(System.Int32,System.Net.Sockets.Socket)">
<summary>
new
</summary>
<param name="messageBufferSize"></param>
<param name="socket"></param>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.AsyncSendPool.SendCompleted(System.Object,System.Net.Sockets.SocketAsyncEventArgs)">
<summary>
send completed handle
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.AsyncSendPool.Acquire">
<summary>
acquire
</summary>
<returns></returns>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.AsyncSendPool.Release(System.Net.Sockets.SocketAsyncEventArgs)">
<summary>
release
</summary>
<param name="e"></param>
</member>
<member name="M:Sodao.FastSocket.Server.UdpServer`1.AsyncSendPool.SendAsync(System.Net.EndPoint,System.Byte[])">
<summary>
sned async
</summary>
<param name="endPoint"></param>
<param name="payload"></param>
<exception cref="T:System.ArgumentNullException">endPoint is null</exception>
<exception cref="T:System.ArgumentNullException">payload is null or empty</exception>
<exception cref="T:System.ArgumentOutOfRangeException">payload length大于messageBufferSize</exception>
</member>
<member name="T:Sodao.FastSocket.Server.UdpSession">
<summary>
upd session
</summary>
</member>
<member name="F:Sodao.FastSocket.Server.UdpSession._server">
<summary>
udp server
</summary>
</member>
<member name="F:Sodao.FastSocket.Server.UdpSession.RemoteEndPoint">
<summary>
get remote endPoint
</summary>
</member>
<member name="M:Sodao.FastSocket.Server.UdpSession.#ctor(System.Net.EndPoint,Sodao.FastSocket.Server.IUdpServer)">
<summary>
new
</summary>
<param name="remoteEndPoint"></param>
<param name="server"></param>
<exception cref="T:System.ArgumentNullException">server is null</exception>
</member>
<member name="M:Sodao.FastSocket.Server.UdpSession.SendAsync(System.Byte[])">
<summary>
sned async
</summary>
<param name="payload"></param>
<exception cref="T:System.ArgumentNullException">payload is null or empty</exception>
</member>
</members>
</doc>