Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > net/imapライブラリ > Net::IMAP::TaggedResponseクラス

class Net::IMAP::TaggedResponse

クラスの継承リスト: Net::IMAP::TaggedResponse < Struct < Enumerable < Object < Kernel < BasicObject

Abstract

Net::IMAP::TaggedResponse represents tagged responses.

The server completion result response indicates the success or failure of the operation. It is tagged with the same tag as the client command which began the operation.

response_tagged ::= tag SPACE resp_cond_state CRLF

tag             ::= 1*<any ATOM_CHAR except "+">

resp_cond_state ::= ("OK" / "NO" / "BAD") SPACE resp_text

インスタンスメソッド

data

Returns the data. See Net::IMAP::ResponseText.

name

Returns the name. the name is one of "OK", "NO", "BAD".

raw_data

Returns the raw data string.

tag

Returns the tag.

Methods

Classes