Maven module :un.protocol : protocol-pop :
Class : un.protocol.pop.POPCommand
Extends/Implements : -
Subclasses : -

POP Client command definition.
author  Johann Sorel


Variables : keyword, arguments
Functions : POPCommand, POPCommand, POPCommand, encode, createQUIT, createSTAT, createSTAT, createRETR, createDELE, createNOOP, createRSET, createTOP, createUIDL, createUSER, createPASS, createAPOP


public Chars keyword

public Chars[] arguments


public void POPCommand ()

public void POPCommand (Chars keyword)

public void POPCommand (Chars keyword, Chars[] arguments)


Encode the command in text ready to be send to server.
return  encoded command
public Chars encode ()

public POPCommand createQUIT ()

public POPCommand createSTAT ()

public POPCommand createSTAT (Integer messageNumber)

public POPCommand createRETR (int messageNumber)

public POPCommand createDELE (int messageNumber)

public POPCommand createNOOP ()

public POPCommand createRSET ()

public POPCommand createTOP (int messageNumber, int numberOfLine)

public POPCommand createUIDL (Integer messageNumber)

public POPCommand createUSER (Chars user)

public POPCommand createPASS (Chars password)

public POPCommand createAPOP (Chars name, Chars digest)