class PPOP3Server |
A TCP/IP socket for the Post Office Protocol version 3.
![]() | OnLIST ( PINDEX msg ) Get the size of a message in mailbox. |
![]() | OnUIDL ( PINDEX msg ) Get unique ID for message in mailbox. |
![]() | OnUnknown ( const PCaselessString & command ) Handle an unknown command. |
Construction
Overrides from class PObject
Overrides from class PChannel
Channel establish functions
Information functions
Reading functions
Writing functions
Miscellaneous functions
Error functions
Run Time Type functions
I/O functions
Comparison functions
A TCP/IP socket for the Post Office Protocol version 3.When acting as a server, a descendant class would be created to override at least the <A>HandleOpenMailbox()</A>, <A>HandleSendMessage()</A> and <A>HandleDeleteMessage()</A> functions. Other functions may be overridden for further enhancement to the sockets capabilities, but these will give a basic POP3 server functionality.
The server socket thread would continuously call the <A>ProcessMessage()</A> function until it returns FALSE. This will then call the appropriate virtual function on parsing the POP3 protocol.
Alphabetic index HTML hierarchy of classes or Java