jp.ac.naka.ec.plugin.mail
クラス GMailReceiver

java.lang.Object
  上位を拡張 jp.ac.naka.ec.EventSource
      上位を拡張 jp.ac.naka.ec.plugin.mail.GMailReceiver
すべての実装されたインタフェース:
java.util.EventListener, EntityListener, Plugin

public class GMailReceiver
extends EventSource

メールからイベントを生成、配信

作成者:
Takashi Kasuya

フィールドの概要
static int INTERVAL
           
static java.lang.String resource_folder
           
 
クラス jp.ac.naka.ec.EventSource から継承されたフィールド
dispatcher, name, uri
 
コンストラクタの概要
GMailReceiver()
           
 
メソッドの概要
 void closeFolder()
           
 void disconnect()
           
 void init(EntityContainer source)
          初期化を行う
 void init(EntityContainer source, java.util.Properties prop)
          初期化を行う。
static void main(java.lang.String[] args)
           
 void openFolder(java.lang.String folderName)
           
 void processMessage(Message p)
           
 void setTarget(EntityListener target)
           
 
クラス jp.ac.naka.ec.EventSource から継承されたメソッド
addedNewEntity, equals, getEventDispatcher, getPluginName, getURI, isLocal, receiveAck, receiveAnswer, receiveBye, receiveMessage, receiveOffer, removedEntity, setPluginName, setURI
 
クラス java.lang.Object から継承されたメソッド
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

resource_folder

public static java.lang.String resource_folder

INTERVAL

public static int INTERVAL
コンストラクタの詳細

GMailReceiver

public GMailReceiver()
メソッドの詳細

init

public void init(EntityContainer source)
          throws java.lang.Exception
インタフェース Plugin の記述:
初期化を行う

例外:
java.lang.Exception

init

public void init(EntityContainer source,
                 java.util.Properties prop)
          throws java.lang.Exception
インタフェース Plugin の記述:
初期化を行う。

例外:
java.lang.Exception

openFolder

public void openFolder(java.lang.String folderName)
                throws MessagingException
例外:
MessagingException

closeFolder

public void closeFolder()
                 throws java.lang.Exception
例外:
java.lang.Exception

disconnect

public void disconnect()
                throws java.lang.Exception
例外:
java.lang.Exception

processMessage

public void processMessage(Message p)
                    throws java.lang.Exception
例外:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
例外:
java.lang.Exception

setTarget

public void setTarget(EntityListener target)