|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.cssj.cti.ctip.driver.ContentProducerImpl
| フィールドの概要 | |
protected java.nio.channels.SocketChannel |
channel
|
protected java.lang.String |
encoding
|
protected java.lang.String |
host
|
protected int |
port
|
| インタフェース jp.cssj.cti.ctip.ContentProducer から継承したフィールド |
ADD, DATA, ERROR, ERROR_ERROR, ERROR_FATAL, ERROR_WARN, INSERT |
| コンストラクタの概要 | |
ContentProducerImpl(java.lang.String host,
int port,
java.lang.String encoding)
|
|
| メソッドの概要 | |
protected void |
close()
|
RequestConsumer |
connect()
サーバーに接続し、リクエストを開始します。 |
int |
getAnchorId()
アンカーとなる断片のIDを返します。 |
int |
getId()
断片のIDを返します。 |
byte |
getLevel()
エラーレベルを返します。 |
java.lang.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 java.lang.String encoding
protected final java.lang.String host
protected final int port
protected java.nio.channels.SocketChannel channel
| コンストラクタの詳細 |
public ContentProducerImpl(java.lang.String host,
int port,
java.lang.String encoding)
throws java.io.IOException
| メソッドの詳細 |
public RequestConsumer connect()
throws java.io.IOException
ContentProducer の記述:
ContentProducer 内の connectjava.io.IOException
protected void close()
throws java.io.IOException
java.io.IOException
public boolean next()
throws java.io.IOException
ContentProducer の記述:
ContentProducer 内の nextjava.io.IOException
public int getId()
throws java.io.IOException
ContentProducer の記述:
ContentProducer 内の getIdjava.io.IOException
public int getAnchorId()
throws java.io.IOException
ContentProducer の記述:
ContentProducer 内の getAnchorIdjava.io.IOException
public byte getType()
throws java.io.IOException
ContentProducer の記述:
ContentProducer 内の getTypejava.io.IOException
public long getProgress()
throws java.io.IOException
ContentProducer の記述:
ContentProducer 内の getProgressjava.io.IOException
public java.lang.String getMessage()
throws java.io.IOException
ContentProducer の記述:
ContentProducer 内の getMessagejava.io.IOException
public byte getLevel()
throws java.io.IOException
ContentProducer の記述:
ContentProducer 内の getLeveljava.io.IOException
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
ContentProducer の記述:
ContentProducer 内の readb - データが格納されるバッファ。off - バッファの開始位置。len - バッファに格納可能なバイト数。
java.io.IOException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||