Add support for transport interface.

This commit is contained in:
mscott%netscape.com 1999-01-28 01:56:50 +00:00
Родитель 5b16c58aaa
Коммит 0963740ab9
1 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -23,6 +23,7 @@
#include "nsISupports.h"
#include "nsIURL.h"
#include "nsIStreamListener.h"
#include "nsITransport.h"
#ifdef SingleSignon
#include "lo_ele.h"
#endif
@ -243,13 +244,15 @@ struct nsINetService : public nsISupports
nsISupports* aContainer = nsnull,
nsIURLGroup* aGroup = nsnull) = 0;
/**
* Protocol connection pools should use this call into the service manager to
* produce a transport interface on a socket. You need to pass in a port and a host
* name to associate with the socket.
*/
NS_IMETHOD CreateSocketTransport(nsITransport **aTransport, PRUint32 aPortToUse, const char * aHostName) = 0;
NS_IMETHOD AreThereActiveConnections(void) = 0;
};