Aegis.Network.Session.SetMethodSelectHandler C# (CSharp) Method

SetMethodSelectHandler() public method

public SetMethodSelectHandler ( object targetInstance, DispatchMethodSelector handler ) : void
targetInstance object
handler DispatchMethodSelector
return void
        public void SetMethodSelectHandler(object targetInstance, DispatchMethodSelector<StreamBuffer>.MethodSelectHandler handler)
        {
            if (handler == null)
                return;

            _methodSelector = new DispatchMethodSelector<StreamBuffer>(targetInstance, handler);
        }