public TcpMeetingBridgeAgentListener(MeetingAgentType type, IMeetingBridge meetingBridge, int port)
 {
     this.type = type;
     this.meetingBridge = meetingBridge;
     this.port = port;
     tcpListener = new TcpSocketServer(8000);
 }
        public void Close()
        {
            if (MeetingBridgeObj != null)
            {
                MeetingBridgeObj.Close();
                MeetingBridgeObj = null;
            }

            if (publisherAgentListener != null)
            {
                publisherAgentListener.Close();
                publisherAgentListener = null;
            }

            if (subscriberAgentListener != null)
            {
                subscriberAgentListener.Close();
                subscriberAgentListener = null;
            }
        }
 public void Close()
 {
     if (MeetingBridgeObj == null) return;
     MeetingBridgeObj.Close();
     MeetingBridgeObj = null;
 }