|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.cssj.cti.ctip.driver.ContentProducerImpl
| フィールドの概要 | |
protected SocketChannel |
channel
|
protected String |
encoding
|
protected String |
host
|
protected int |
port
|
| インタフェース jp.cssj.cti.ctip.ContentProducer から継承したフィールド |
ADD, DATA, ERROR, ERROR_ERROR, ERROR_FATAL, ERROR_WARN, INSERT |
| コンストラクタの概要 | |
ContentProducerImpl(String host,
int port,
String encoding)
|
|
| メソッドの概要 | |
protected void |
close()
|
RequestConsumer |
connect()
サーバーに接続し、リクエストを開始します。 |
int |
getAnchorId()
アンカーとなる断片のIDを返します。 |
int |
getId()
断片のIDを返します。 |
byte |
getLevel()
エラーレベルを返します。 |
String |
getMessage()
エラーメッセージを返します。 |
long |
getProgress()
進行状況を返します。 |
byte |
getType()
現在のパケットのデータのタイプを返します。 |
boolean |
next()
次のパケットにカーソルを移します。 |
int |
read(byte[] b,
int off,
int len)
データを取得します。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected final String encoding
protected final String host
protected final int port
protected SocketChannel channel
| コンストラクタの詳細 |
public ContentProducerImpl(String host,
int port,
String encoding)
throws IOException
| メソッドの詳細 |
public RequestConsumer connect()
throws IOException
ContentProducer の記述:
ContentProducer 内の connectIOException
protected void close()
throws IOException
IOException
public boolean next()
throws IOException
ContentProducer の記述:
ContentProducer 内の nextIOException
public int getId()
throws IOException
ContentProducer の記述:
ContentProducer 内の getIdIOException
public int getAnchorId()
throws IOException
ContentProducer の記述:
ContentProducer 内の getAnchorIdIOException
public byte getType()
throws IOException
ContentProducer の記述:
ContentProducer 内の getTypeIOException
public long getProgress()
throws IOException
ContentProducer の記述:
ContentProducer 内の getProgressIOException
public String getMessage()
throws IOException
ContentProducer の記述:
ContentProducer 内の getMessageIOException
public byte getLevel()
throws IOException
ContentProducer の記述:
ContentProducer 内の getLevelIOException
public int read(byte[] b,
int off,
int len)
throws IOException
ContentProducer の記述:
ContentProducer 内の readb - データが格納されるバッファ。off - バッファの開始位置。len - バッファに格納可能なバイト数。
IOException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||