Quadcap Embeddable Server

com.quadcap.pop3.client.Pop3Service Class Reference

Inheritance diagram for com.quadcap.pop3.client.Pop3Service:

ServiceImpl List of all members.

Detailed Description

Service wrapper for quadcap POP3 client fetcher.

Author:
Stan Bailes

Definition at line 68 of file Pop3Service.java.

Public Member Functions

void init (ServiceContainer c, Properties p) throws Exception
void stop ()
void runAgent () throws Exception
Pop3Agent readAgent (Map ai)
void writeAgent (Map ai, Pop3Agent agent)

Static Package Functions

ArrayList getTuples (File tf) throws Exception
final HashMap addAttr (HashMap h, String s)

Package Attributes

Thread thread
boolean terminate = false
Properties props
Object lock = new Object()


Member Function Documentation

final HashMap com.quadcap.pop3.client.Pop3Service.addAttr HashMap  h,
String  s
[static, package]
 

Definition at line 142 of file Pop3Service.java.

References com.quadcap.pop3.client.Pop3Service.addAttr().

Referenced by com.quadcap.pop3.client.Pop3Service.addAttr(), and com.quadcap.pop3.client.Pop3Service.getTuples().

ArrayList com.quadcap.pop3.client.Pop3Service.getTuples File  tf  )  throws Exception [static, package]
 

Definition at line 97 of file Pop3Service.java.

References com.quadcap.pop3.client.Pop3Service.addAttr(), and com.quadcap.pop3.client.Pop3Service.getTuples().

Referenced by com.quadcap.pop3.client.Pop3Service.getTuples().

void com.quadcap.pop3.client.Pop3Service.init ServiceContainer  c,
Properties  p
throws Exception
 

Definition at line 74 of file Pop3Service.java.

References com.quadcap.pop3.client.Pop3Service.init(), com.quadcap.pop3.client.Pop3Service.props, com.quadcap.pop3.client.Pop3Service.runAgent(), com.quadcap.pop3.client.Pop3Service.terminate, and com.quadcap.pop3.client.Pop3Service.thread.

Referenced by com.quadcap.pop3.client.Pop3Service.init().

Pop3Agent com.quadcap.pop3.client.Pop3Service.readAgent Map  ai  ) 
 

Definition at line 182 of file Pop3Service.java.

References com.quadcap.pop3.client.Pop3Service.props, com.quadcap.pop3.client.Pop3Agent.read(), and com.quadcap.pop3.client.Pop3Service.readAgent().

Referenced by com.quadcap.pop3.client.Pop3Service.readAgent(), and com.quadcap.pop3.client.Pop3Service.runAgent().

void com.quadcap.pop3.client.Pop3Service.runAgent  )  throws Exception
 

Definition at line 160 of file Pop3Service.java.

References com.quadcap.pop3.client.MessageHook.init(), com.quadcap.pop3.client.Pop3Service.lock, com.quadcap.pop3.client.Pop3Service.props, com.quadcap.pop3.client.Pop3Service.readAgent(), com.quadcap.pop3.client.Pop3Agent.run(), and com.quadcap.pop3.client.Pop3Service.writeAgent().

Referenced by com.quadcap.pop3.client.Pop3Service.init().

void com.quadcap.pop3.client.Pop3Service.stop  ) 
 

Definition at line 153 of file Pop3Service.java.

References com.quadcap.pop3.client.Pop3Service.lock, com.quadcap.pop3.client.Pop3Service.terminate, and com.quadcap.pop3.client.Pop3Service.thread.

void com.quadcap.pop3.client.Pop3Service.writeAgent Map  ai,
Pop3Agent  agent
 

Definition at line 205 of file Pop3Service.java.

References com.quadcap.pop3.client.Pop3Service.props, com.quadcap.pop3.client.Pop3Agent.write(), and com.quadcap.pop3.client.Pop3Service.writeAgent().

Referenced by com.quadcap.pop3.client.Pop3Service.runAgent(), and com.quadcap.pop3.client.Pop3Service.writeAgent().


Member Data Documentation

Object com.quadcap.pop3.client.Pop3Service.lock = new Object() [package]
 

Definition at line 72 of file Pop3Service.java.

Referenced by com.quadcap.pop3.client.Pop3Service.runAgent(), and com.quadcap.pop3.client.Pop3Service.stop().

Properties com.quadcap.pop3.client.Pop3Service.props [package]
 

Definition at line 71 of file Pop3Service.java.

Referenced by com.quadcap.pop3.client.Pop3Service.init(), com.quadcap.pop3.client.Pop3Service.readAgent(), com.quadcap.pop3.client.Pop3Service.runAgent(), and com.quadcap.pop3.client.Pop3Service.writeAgent().

boolean com.quadcap.pop3.client.Pop3Service.terminate = false [package]
 

Definition at line 70 of file Pop3Service.java.

Referenced by com.quadcap.pop3.client.Pop3Service.init(), and com.quadcap.pop3.client.Pop3Service.stop().

Thread com.quadcap.pop3.client.Pop3Service.thread [package]
 

Definition at line 69 of file Pop3Service.java.

Referenced by com.quadcap.pop3.client.Pop3Service.init(), and com.quadcap.pop3.client.Pop3Service.stop().