Turn.Server.TurnServer.Allocation_Removed C# (CSharp) 메소드

Allocation_Removed() 개인적인 메소드

private Allocation_Removed ( Allocation allocation, AllocationsPool reason ) : void
allocation Allocation
reason AllocationsPool
리턴 void
        private void Allocation_Removed(Allocation allocation, AllocationsPool.RemoveReason reason)
        {
            logger.WriteInformation(string.Format("Allocation Terminated: {0} <--> {1}, {2}", allocation.Alocated.ToString(), allocation.Reflexive.ToString(), reason.ToString()));
            peerServer.Unbind(allocation.Alocated.ProtocolPort);
        }