このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XMailService
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: mail ::

unpublished interface XMailService
Usage 制限s
not published
Description
代表するs a mail server abstraction.
Since
OOo 2.0

Methods' 要約
getSupportedConnectionTypes Returns all 関係 types which are supported to connect to the mail service. At least support insecure 関係s must be supported. 現在/一般に defined 関係 types are (the values should be 扱うd 事例/患者 insensitive): "Insecure" - insecure 関係s "Ssl" - 安全な・保証する Socket 層 2.0/3.0 based 関係  
addConnectionListener 登録(する) a 関係 listener.  
removeConnectionListener Unregister a 関係 listener.  
getCurrentConnectionContext Return the 状況 of the 現在の connnection. The 状況 含む/封じ込めるs (警察などへの)密告,告訴(状) like the server 指名する, port, 関係 type etc. @precond isConnected returns true.  
connect Connect to a mail service. Only one 関係 to a mail service can be 設立するd at a time.  
disconnect Disconnect from a mail service.  
isConnected Returns whether a 関係 to a mail service 現在/一般に 存在する or not.  
Methods' 詳細(に述べる)s
getSupportedConnectionTypes
sequence< string >
getSupportedConnectionTypes();

Description
Returns all 関係 types which are supported to connect to the mail service. At least support insecure 関係s must be supported. 現在/一般に defined 関係 types are (the values should be 扱うd 事例/患者 insensitive): "Insecure" - insecure 関係s "Ssl" - 安全な・保証する Socket 層 2.0/3.0 based 関係
Returns
a sequence of supported 関係 types.
addConnectionListener
無効の
addConnectionListener( [in] XConnectionListener  xListener );

Description
登録(する) a 関係 listener.
Parameter xListener
[in] a listener that will be 知らせるd about 関係 events.
See also
XConnectionListener
removeConnectionListener
無効の
removeConnectionListener( [in] XConnectionListener  xListener );

Description
Unregister a 関係 listener.
Parameter xListener
[in] a listener that no longer need to be 知らせるd about 関係 events.
See also
XConnectionListener
getCurrentConnectionContext
::com::sun::星/主役にする::uno::XCurrentContext
getCurrentConnectionContext()
raises( ::com::sun::星/主役にする::io::NotConnectedException );

Description
Return the 状況 of the 現在の connnection. The 状況 含む/封じ込めるs (警察などへの)密告,告訴(状) like the server 指名する, port, 関係 type etc. @precond isConnected returns true.
Returns
the 現在の 関係 状況.
Throws
com::sun::星/主役にする::io::NotConnectedException if no 関係 is 現在/一般に 設立するd.
See also
com::sun::星/主役にする::mail::connectUser, ::com::sun::星/主役にする::io::NotConnectedException
connect
無効の
connect( [in] ::com::sun::星/主役にする::uno::XCurrentContext  xConnectionContext,
[in] XAuthenticator  xAuthenticator )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::io::AlreadyConnectedException,
::com::sun::星/主役にする::io::UnknownHostException,
::com::sun::星/主役にする::io::NoRouteToHostException,
::com::sun::星/主役にする::io::ConnectException,
::com::sun::星/主役にする::auth::AuthenticationFailedException,
MailException );

Description
Connect to a mail service. Only one 関係 to a mail service can be 設立するd at a time.
Parameter xConnectionContext
[in] an interface used to query for 関係 関係のある (警察などへの)密告,告訴(状). The 状況 must 含む/封じ込める the に引き続いて values:
  • ServerName of type 'string'.
  • Port of type 'long'.
  • ConnectionType of type 'string'. A 名簿(に載せる)/表(にあげる) of supported 関係 types can be queried using getSupportedConnectionTypes.
  • Timeout of type 'long' (Optional). 明示するs a timeout in seconds for 封鎖するing 操作/手術s, like the 関係 試みる/企てる.
Parameter xAuthenticator
[in] an interface used to query for the necessary 使用者 (警察などへの)密告,告訴(状) needed to login to the mail server. If no authentication is 要求するd the xAuthenticator must return an empty 使用者 指名する and an empty password.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the 供給するd 関係 状況 含む/封じ込めるs 無効の values or 行方不明になるs 要求するd 関係 parameters.
Throws
com::sun::星/主役にする::io::AlreadyConnectedException on a try to connect to an already connect mail server.
Throws
com::sun::星/主役にする::io::UnknownHostException usually if the IP 演説(する)/住所 of the mail server could not be 決定するd. Possible 原因(となる)s are a broken 網状組織 関係, a wrong server 指名する, an unreachable DNS server, etc.
Throws
com::sun::星/主役にする::io::NoRouteToHostException if an error occured to connect to the remote mail server. Typically the remote mail server cannot be reach because of an 介入するing firewall, or if an 中間の router is 負かす/撃墜する, the 網状組織 関係 is broken, etc.
Throws
com::sun::星/主役にする::io::ConnectException if an error occured while 試みる/企てるing to connect to the remote mail server. Typically the 関係 was 辞退するd remotely, because the mail server is not listening on the remote 演説(する)/住所/port.
Throws
com::sun::星/主役にする::auth::AuthenticationException if the 明示するd 使用者 could not be logged in.
Throws
com::sun::星/主役にする::mail::MailException for other errors during login.
See also
::com::sun::星/主役にする::uno::XCurrentContext, XAuthenticator, ::com::sun::星/主役にする::lang::IllegalArgumentException, ::com::sun::星/主役にする::io::AlreadyConnectedException, ::com::sun::星/主役にする::io::UnknownHostException, ::com::sun::星/主役にする::io::NoRouteToHostException , ::com::sun::星/主役にする::io::ConnectException, com::sun::星/主役にする::auth::AuthenticationException, com::sun::星/主役にする::mail::IllegalStateException, MailException
disconnect
無効の
disconnect()
raises( MailException );

Description
Disconnect from a mail service.
Throws
com::sun::星/主役にする::mail::MailException if errors occur during disconnecting.
isConnected
boolean
isConnected();

Description
Returns whether a 関係 to a mail service 現在/一般に 存在する or not.
Returns
true if a 関係 to a mail service is 設立するd.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.