/// <summary>
/// This method will be called when connection requested from the client
/// </summary>
- public abstract void OnConnentionRequest();
+ public abstract void OnConnectionRequest();
/// <summary>
/// This method will be called when received file payload.
const char CB_ON_CONNECTIONREQUESTED_EVENT[] =
R"__cs_cb(
- protected override void OnConnentionRequest(PeerInfo peerInfo)
+ protected override void OnConnectionRequest(PeerInfo peerInfo)
{
ServiceBase s = Activator.CreateInstance(_serviceType) as ServiceBase;
s.ServiceName = base.ServiceName;
s.DisplayName = base.DisplayName;
s.ConnectionRequestClient = peerInfo;
s.ServerBase = this;
- s.OnConnentionRequest();
+ s.OnConnectionRequest();
_services.Add(s);
}
)__cs_cb";