[Ace-users] Re: ACE_SSL Query!
AmnonAB at gmail.com
Sat Jul 7 13:34:49 CDT 2007
On Jul 6, 2:36 pm, Jay <jayaraghavend... at gmail.com> wrote:
> Hi All,
> Is the ACE_SSL_Context class in ACE_SSL singleton or not? How does it
> work? It is a little confusing as I am not very clear about the
> singleton patter of ACE. The comment on the top of "instance" function
> says "The Singleton context, the SSL components use the singleton if
> nothing else is available.". What does "nothing else is available"
> mean? Even the constructor is public. Can somebody please clear my
> doubt regarding this?
> Thanks in Advance!
The ACE_SSL_Context class can be used as either a singleton, using its
instance() method, or as a regular class when instantiated.
More information about the Ace-users