초기커밋
This commit is contained in:
52
ServerCommon/z.Backup/ServerAuthClient.cs
Normal file
52
ServerCommon/z.Backup/ServerAuthClient.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
//using Nettention.Proud;
|
||||
//using ServerCore; using ServerBase;
|
||||
//using System;
|
||||
//using System.Collections.Generic;
|
||||
//using System.Linq;
|
||||
//using System.Text;
|
||||
//using System.Threading.Tasks;
|
||||
|
||||
//namespace ServerCommon
|
||||
//{
|
||||
// public class ServerAuthClient
|
||||
// {
|
||||
// NetClient _netClient = new NetClient();
|
||||
|
||||
// PServerToIP.Stub _stub = new PServerToIP.Stub();
|
||||
// PServerToIP.Proxy _proxy = new PServerToIP.Proxy();
|
||||
|
||||
// public ServerAuthClient()
|
||||
// {
|
||||
// /*_netClient.JoinServerCompleteHandler = (errorInfo, PServerToIP) =>
|
||||
// {
|
||||
|
||||
// };
|
||||
|
||||
// _netClient.LeaveServerHandler = (errorInfo) =>
|
||||
// {
|
||||
|
||||
// };*/
|
||||
// }
|
||||
|
||||
// public async Task SendIPAsync(string name)
|
||||
// {
|
||||
// var delay = RandomHelper.next(1000, 60000);
|
||||
// await Task.Delay(delay);
|
||||
|
||||
// _netClient.AttachProxy(_proxy);
|
||||
// _netClient.AttachStub(_stub);
|
||||
|
||||
// NetConnectionParam param = new NetConnectionParam();
|
||||
// param.protocolVersion.Set(Constant.Version);
|
||||
// param.serverIP = "35.91.216.198";
|
||||
// param.serverPort = 80;
|
||||
|
||||
// if (!_netClient.Connect(param))
|
||||
// return;
|
||||
|
||||
// _proxy.Message(HostID.HostID_Server, RmiContext.ReliableSend, name, AwsHelper.getAwsPublicIPv4OrEthernetIPv4());
|
||||
|
||||
// _netClient.Disconnect();
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
Reference in New Issue
Block a user