close() 공개 메소드

public close ( ) : void
리턴 void
예제 #1
0
        public void drop(DropReason reason)
        {
            bool did_drop = false;

            if (!dropped)
            {
                dropped  = true;
                did_drop = true;
                if (DroppedEvent != null)
                {
                    DroppedEvent(this, reason);
                }
            }

            if (did_drop)
            {
                transport.close();
            }
        }