|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.nntp.NNTPParser
public class NNTPParser
A parser that understands the basic semantics of the NNTP protocol and can translate them into calls on the NNTP API.
| Field Summary | |
|---|---|
static NNTPResponse |
WELCOME_NO_POST
The standard welcome message sent by the server when no posting is allowed. |
static NNTPResponse |
WELCOME_POST
The standard welcome message sent by the server when posting is allowed. |
| Constructor Summary | |
|---|---|
NNTPParser(SessionManager manager,
Session owner,
Connection conn)
Create a parser for the given session. |
|
| Method Summary | |
|---|---|
boolean |
parse()
Parse a socket in a fully blocking manner. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final NNTPResponse WELCOME_POST
public static final NNTPResponse WELCOME_NO_POST
| Constructor Detail |
|---|
public NNTPParser(SessionManager manager,
Session owner,
Connection conn)
Create a parser for the given session.
The parser will turn NNTP commands into calls on the session object (storing state information between calls to parse on multi-line commands).
owner - The session this parser works forconn - The connection this parser should send outgoing information on| Method Detail |
|---|
public boolean parse()
throws java.io.IOException
java.io.IOException - if there was trouble reading the line
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||