![]() |
All Packages This Package Class Hierarchy Class Search Index Class grendel.storage.PopMailDropjava.lang.Object | +----grendel.storage.PopMailDrop
class PopMailDrop
extends java.lang.Object
implements grendel.storage.MailDrop
{
// Fields 19
static final boolean DEBUG;
static final String DELETE;
static final String KEEP;
Folder fFolder;
String fHost;
InputStream fInput;
int fNumWaiting;
DataOutputStream fOutput;
String fPass;
int fPort;
Socket fSocket;
String fUser;
StringBuffer inbuffer;
boolean leaveMessagesOnServer;
File popstatefile;
int stat_msgcount;
int stat_octetcount;
boolean uidlUnimplemented;
boolean xtndUnimplemented;
// Constructors 1
PopMailDrop();
// Methods 28
static void Spew(String);
protected void check(boolean, String) throws MailDropException;
protected void check(String, String) throws MailDropException;
protected void cleanup();
protected void clearAssumptionsAboutServer();
public synchronized void doBiff() throws IOException;
public synchronized void fetchNewMail() throws IOException;
protected void fetchOrCheck(boolean) throws IOException;
public int getBiffState();
Folder getDestinationFolder();
boolean getLeaveMessagesOnServer();
public int getNumMessagesWaiting();
File getPopStateFile();
protected Hashtable loadLeaveOnServerList();
protected void login() throws IOException;
protected void logout() throws IOException;
protected String readln() throws IOException;
protected boolean resultOK(String);
protected void saveLeaveOnServerList(Hashtable) throws IOException;
void setDestinationFolder(Folder);
void setHost(String);
void setLeaveMessagesOnServer(boolean);
void setPassword(String);
void setPopStateFile(File);
void setPort(int);
void setUser(String);
protected void stat() throws IOException;
protected void writeln(String) throws IOException;
}
Fields KEEPstatic final String KEEP DELETEstatic final String DELETE fHostString fHost fPortint fPort fUserString fUser fPassString fPass fFolderFolder fFolder fNumWaitingint fNumWaiting fSocketSocket fSocket fInputInputStream fInput fOutputDataOutputStream fOutput stat_msgcountint stat_msgcount stat_octetcountint stat_octetcount popstatefileFile popstatefile uidlUnimplementedboolean uidlUnimplemented xtndUnimplementedboolean xtndUnimplemented leaveMessagesOnServerboolean leaveMessagesOnServer DEBUGstatic final boolean DEBUG inbufferStringBuffer inbuffer
Constructors PopMailDropPopMailDrop() Methods Spewstatic void Spew(String s) clearAssumptionsAboutServerprotected void clearAssumptionsAboutServer() setHostvoid setHost(String hostname) setPortvoid setPort(int port) setUservoid setUser(String username) setPasswordvoid setPassword(String password) setDestinationFoldervoid setDestinationFolder(Folder dest) getDestinationFolderFolder getDestinationFolder() setPopStateFilevoid setPopStateFile(File f) getPopStateFileFile getPopStateFile() setLeaveMessagesOnServervoid setLeaveMessagesOnServer(boolean value) getLeaveMessagesOnServerboolean getLeaveMessagesOnServer() fetchOrCheckprotected void fetchOrCheck(boolean dofetch) throws IOException
loadLeaveOnServerListprotected Hashtable loadLeaveOnServerList() saveLeaveOnServerListprotected void saveLeaveOnServerList(Hashtable table) throws IOException fetchNewMailpublic synchronized void fetchNewMail() throws IOException
doBiffpublic synchronized void doBiff() throws IOException loginprotected void login() throws IOException cleanupprotected void cleanup() logoutprotected void logout() throws IOException statprotected void stat() throws IOException writelnprotected void writeln(String line) throws IOException readlnprotected String readln() throws IOException checkprotected void check(String line, String err) throws MailDropException resultOKprotected boolean resultOK(String line) getBiffStatepublic int getBiffState()
getNumMessagesWaitingpublic int getNumMessagesWaiting()
check
protected void check(boolean status,
String response) throws MailDropException
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|
|
Copyright © 1998-1999 The Mozilla Organization.
Last modified December 25, 1998. |
|