public function getAuth();
/**
+ * Return the unique connection id.
+ *
+ * @return string The connection id.
+ */
+ public function getId();
+
+ /**
* Retrieves a list of mailboxes from the server.
*
* @return array The list of mailboxes.
}
/**
+ * Return the unique connection id.
+ *
+ * @return string The connection id.
+ */
+ public function getId()
+ {
+ return $this->getAuth() . '@' . $this->getParam('host');
+ }
+
+ /**
* Return the root mailbox of the current user.
*
* @return string The id of the user that opened the IMAP connection.
}
/**
+ * Return the unique connection id.
+ *
+ * @return string The connection id.
+ */
+ public function getId()
+ {
+ return $this->getAuth() . '@'
+ . $this->_imap->getParam('hostspec') . ':'
+ . $this->_imap->getParam('port');
+ }
+
+ /**
* Retrieves a list of mailboxes from the server.
*
* @return array The list of mailboxes.
}
/**
+ * Return the unique connection id.
+ *
+ * @return string The connection id.
+ */
+ public function getId()
+ {
+ return $this->getAuth() . '@mock:0';
+ }
+
+ /**
* Retrieves a list of mailboxes on the server.
*
* @return array The list of mailboxes.
}
/**
+ * Return the unique connection id.
+ *
+ * @return string The connection id.
+ */
+ public function getId()
+ {
+ return $this->getAuth() . '@'
+ . $this->getParam('host') . ':'
+ . $this->getParam('port');
+ }
+
+ /**
* Retrieves a list of mailboxes on the server.
*
* @return array The list of mailboxes.
}
/**
+ * Return the unique connection id.
+ *
+ * @return string The connection id.
+ */
+ public function getId()
+ {
+ return $this->getAuth() . '@'
+ . $this->getParam('host') . ':'
+ . $this->getParam('port');
+ }
+
+ /**
* Retrieves a list of mailboxes on the server.
*
* @return array The list of mailboxes.