/// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        internal GlobalMessageRuleCollection(VirtualServer virtualServer)
        {
            m_pVirtualServer      = virtualServer;
            m_pGlobalMessageRules = new List<GlobalMessageRule>();

            Bind();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        public DomainCollection(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;
            m_pDomains       = new List<Domain>();

            Bind();
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        public UsersDefaultFolderCollection(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;
            m_pFolders       = new List<UsersDefaultFolder>();

            Bind();
        }
Exemplo n.º 4
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        internal GroupCollection(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;
            m_pGroups        = new List<Group>();

            Bind();
        }
Exemplo n.º 5
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        internal UserCollection(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;
            m_pUsers         = new List<User>();

            Bind();
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="owner">Owner VirtualServer object that owns this collection.</param>
        internal SipRegistrationCollection(VirtualServer owner)
        {
            m_pOwner = owner;
            m_pRegistrations = new List<SipRegistration>();

            Bind();
        }
Exemplo n.º 7
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        internal SharedRootFolderCollection(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;
            m_pRootFolders   = new List<SharedRootFolder>();

            Bind();
        }
Exemplo n.º 8
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        internal RouteCollection(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;
            m_pRoutes        = new List<Route>();

            Bind();
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        internal FilterCollection(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;
            m_pFilters       = new List<Filter>();

            Bind();
        }
Exemplo n.º 10
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        internal SIP_CallCollection(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;
            m_pCalls         = new List<SIP_Call>();

            Bind();
        }
Exemplo n.º 11
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        internal MailingListCollection(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;
            m_pMailingLists  = new List<MailingList>();

            Bind();
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        public wfrm_System_Services_Relay(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            foreach(IPAddress ip in virtualServer.Server.IPAddresses){
                if(ip.Equals(IPAddress.Any)){
                    m_pSendingIP.Items.Add(new WComboBoxItem("any IPv4",ip));
                }
                else if(ip.Equals(IPAddress.Loopback)){
                    m_pSendingIP.Items.Add(new WComboBoxItem("localhost IPv4",ip));
                }
                else if(ip.Equals(IPAddress.IPv6Any)){
                    m_pSendingIP.Items.Add(new WComboBoxItem("Any IPv6",ip));
                }
                else if(ip.Equals(IPAddress.IPv6Loopback)){
                    m_pSendingIP.Items.Add(new WComboBoxItem("localhost IPv6",ip));
                }
                else{
                    m_pSendingIP.Items.Add(new WComboBoxItem(ip.ToString(),ip));
                }
            }
            m_pSendingIP.SelectedIndex = 0;

            LoadData();
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        internal IPSecurityCollection(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;
            m_pEntries       = new List<IPSecurity>();

            Bind();
        }
Exemplo n.º 14
0
        /// <summary>
        /// Add constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        public wfrm_SharedFolders_RootFolder(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            m_pRootFolderType.SelectedIndex = 0;
        }
Exemplo n.º 15
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        public wfrm_System_Services_IMAP(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            LoadData();
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        /// <param name="frame"></param>
        public wfrm_Folders_RecycleBin(VirtualServer virtualServer,WFrame frame)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            LoadSettings();
        }
Exemplo n.º 17
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        public wfrm_se_FilterType(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            LoadFilters();
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        public wfrm_System_Authentication(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            LoadData();
        }
Exemplo n.º 19
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Owner virtual server.</param>
        /// <param name="smtp_relay">Specifies if smtp or relay queue collection.</param>
        internal QueueItemCollection(VirtualServer virtualServer,bool smtp_relay)
        {
            m_pVirtualServer = virtualServer;
            m_smtp_relay     = smtp_relay;
            m_pCollection    = new List<QueueItem>();

            Bind();
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        public wfrm_System_ReturnMessages(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            m_pMessageType.SelectedIndex = 0;
        }
Exemplo n.º 21
0
        /// <summary>
        /// Add new constructor.
        /// </summary>
        /// <param name="serverAPI">Reference to server API.</param>
        public wfrm_MailingList(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            LoadDomains();
        }
Exemplo n.º 22
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        public wfrm_System_Services_FetchPOP3(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            LoadData();
        }
Exemplo n.º 23
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        public wfrm_System_Logging(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            LoadData();
        }
Exemplo n.º 24
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        public wfrm_System_General(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            LoadData();
        }
Exemplo n.º 25
0
        /// <summary>
        /// Add constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        public wfrm_Routing_Route(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();
                        
            m_pAction.SelectedIndex = 0;
        }
Exemplo n.º 26
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Reference to virtual server.</param>       
        public wfrm_utils_BackupMessages(VirtualServer virtualServer)
        {
            m_pVirtualServer = virtualServer;

            InitUI();

            SwitchStep("destination");
        }
Exemplo n.º 27
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="virtualServer">Reference to owner virtual server.</param>
 /// <param name="service">Service. SMTP,POP3,IMAP,RELAY,FETCH.</param>
 /// <param name="sessionID">Session ID.</param>
 /// <param name="startTime">Session start time.</param>
 /// <param name="remoteEndPoint">Remote end point.</param>
 /// <param name="userName">Authenticated user name.</param>
 internal LogSession(VirtualServer virtualServer,string service,string sessionID,DateTime startTime,IPEndPoint remoteEndPoint,string userName)
 {
     m_pVirtualServer  = virtualServer;
     m_Service         = service;
     m_SessionID       = sessionID;
     m_StartTime       = startTime;
     m_pRemoteEndPoint = remoteEndPoint;
     m_UserName        = userName;
 }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        /// <param name="user">User who's recyclebin to show.</param>
        public wfrm_User_Recyclebin(VirtualServer virtualServer,User user)
        {
            m_pVirtualServer = virtualServer;
            m_pUser          = user;

            InitUI();

            LoadData();
        }
Exemplo n.º 29
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        /// <param name="folder">Folder what messages to show.</param>
        public wfrm_User_FolderMessages(VirtualServer virtualServer,UserFolder folder)
        {
            m_pVirtualServer = virtualServer;
            m_pFolder        = folder;

            InitUI();

            LoadData();
        }
Exemplo n.º 30
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="virtualServer">Virtual server.</param>
        /// <param name="frame"></param>
        public wfrm_SharedFolders_UserFolders(VirtualServer virtualServer,WFrame frame)
        {   
            m_pVirtualServer = virtualServer;
        
            InitUI();

            // Move toolbar to Frame
            frame.Frame_ToolStrip = m_pToolbar;
        }