|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Connection | |
---|---|
com.jivesoftware.forum.net | A server network i/o front end package. |
com.jivesoftware.forum.net.policies | Implementations of the AcceptPolicy interface. |
com.jivesoftware.forum.net.spi | Implementations of the net interfaces. |
com.jivesoftware.forum.nntp | Jive Forums internal NNTP server. |
com.jivesoftware.forum.nntp.spi | Implementation of core NNTP interfaces. |
Uses of Connection in com.jivesoftware.forum.net |
---|
Methods in com.jivesoftware.forum.net that return Connection | |
---|---|
Connection |
ConnectionManager.createConnection(java.net.Socket socket,
boolean acceptCreated,
boolean secure)
Creates a connection in the manager by wrapping the given socket in an appropriate connection implementation. |
Connection |
ConnectionManager.getConnection(int id)
Obtain a connection by it's ID. |
Methods in com.jivesoftware.forum.net with parameters of type Connection | |
---|---|
void |
ConnectionManager.addConnection(Connection conn)
Add a connection to the manager. |
void |
ConnectionMonitor.addSample(Connection conn)
Adds a connection sample to the monitor as soon as the connection is accepted. |
boolean |
AcceptPolicy.evaluate(Connection connection)
Evaluate if the given connection should be accepted or rejected. |
void |
ConnectionManager.removeConnection(Connection conn)
Remove the given connection from the manager. |
Uses of Connection in com.jivesoftware.forum.net.policies |
---|
Methods in com.jivesoftware.forum.net.policies with parameters of type Connection | |
---|---|
boolean |
AndPolicy.evaluate(Connection connection)
Enforce an AND comparison of the two policies. |
boolean |
BasicAcceptPolicy.evaluate(Connection connection)
Ignores the connection and returns the static result set in the constructor. |
boolean |
NotPolicy.evaluate(Connection connection)
Reverse the decision of this policies policy. |
boolean |
OrPolicy.evaluate(Connection connection)
Enforce an OR comparison of the two policies. |
boolean |
XorPolicy.evaluate(Connection connection)
Enforce an XOR comparison of the two policies. |
Uses of Connection in com.jivesoftware.forum.net.spi |
---|
Classes in com.jivesoftware.forum.net.spi that implement Connection | |
---|---|
class |
SocketChannelConnection
A connection based on the nio socket channel. |
Methods in com.jivesoftware.forum.net.spi that return Connection | |
---|---|
Connection |
AbstractConnectionManager.createConnection(java.net.Socket socket,
boolean acceptCreated,
boolean secure)
|
Connection |
AbstractConnectionManager.getConnection(int id)
|
Methods in com.jivesoftware.forum.net.spi with parameters of type Connection | |
---|---|
void |
AbstractConnectionManager.addConnection(Connection con)
|
void |
TransientConnectionMonitor.addSample(Connection conn)
Logs the actual sample to the underlying monitor. |
void |
AbstractConnectionManager.removeConnection(Connection conn)
|
Constructors in com.jivesoftware.forum.net.spi with parameters of type Connection | |
---|---|
BlockingReadConnectionThread(Connection connection)
|
Uses of Connection in com.jivesoftware.forum.nntp |
---|
Methods in com.jivesoftware.forum.nntp with parameters of type Connection | |
---|---|
Session |
SessionManager.createSession(Connection con)
Creates a session for the given connection. |
static NNTPResponse |
NewNewsResponse.getList(Connection connection,
java.util.Iterator articleIter)
Create a response containing the articles in the given iterator. |
Session |
SessionManager.getSession(Connection con)
Obtain a session that corresponds to the given connection. |
static NNTPResponse |
XHDRResponse.getXHDR(Connection connection,
java.lang.String header,
ArticlePointer pointer,
ArticleFilter filter)
Create a new XHDR response given a requested header, article pointer, and filter restricting results. |
boolean |
SessionManager.isSession(Connection conn)
Indicates if the given connection has an associated session. |
void |
SessionManager.removeSession(Connection con)
Removes the session associated with the connection. |
void |
NNTPResponse.send(Connection con)
Sends the response. |
void |
NNTPResponseBuffer.send(Connection con)
|
void |
StaticNNTPResponse.send(Connection con)
|
static NNTPResponse |
NewsGroupListResponse.sendList(Connection connection,
java.util.Iterator groupIter,
boolean useDescription)
Obtain a new list of the given groups in the Iterator. |
static NNTPResponse |
NewsGroupListResponse.sendListGroup(Connection connection,
java.util.Iterator articleIter)
Create a list response for NEWGROUPS commands. |
static NNTPResponse |
NewsGroupListResponse.sendNewGroupList(Connection connection,
java.util.Iterator groupIter)
Create a list response for NEWGROUPS commands. |
static NNTPResponse |
XOverResponse.sendXOver(ArticlePointer pointer,
ArticleFilter filter,
Connection connection)
Produce a new XOver response using the given pointer and obeying the given filter. |
Constructors in com.jivesoftware.forum.nntp with parameters of type Connection | |
---|---|
ArticleResponder(Connection conn)
Creates a new article response (cannot be instantiated directly). |
|
NNTPParser(SessionManager manager,
Session owner,
Connection conn)
Create a parser for the given session. |
|
NNTPResponseBuffer(Connection connection,
int val)
Create a simple NNTP response with the given response value. |
|
NNTPResponseBuffer(Connection connection,
int val,
java.lang.String text,
boolean continued)
Create a simple NNTP response with the given response value and the response text on the first line of the response. |
|
Session(SessionManager sessionManager,
Connection conn)
Create a session that owns the given connection. |
Uses of Connection in com.jivesoftware.forum.nntp.spi |
---|
Methods in com.jivesoftware.forum.nntp.spi with parameters of type Connection | |
---|---|
void |
NNTPConnectionManager.addConnection(Connection con)
|
void |
NNTPConnectionManager.removeConnection(Connection conn)
|
|
Jive Forums Project Page | |||||||||
PREV NEXT | FRAMES NO FRAMES |