|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.nntp.NNTPServer
public class NNTPServer
Factory class to simplify access to NNTP system.
Method Summary | |
---|---|
void |
destroy()
Notifies the manager to release any resources that may be holding on too. |
AcceptManager |
getAcceptManager()
Obtain the server's accept manager. |
ConnectionManager |
getConnectionManager()
Obtain the server's connection manager. |
static NNTPServer |
getInstance()
Returns a NNTPServer instance. |
NNTPServerConfig |
getServerConfig()
Obtain the article handling configuration for the NNTP server. |
SessionManager |
getSessionManager()
Obtain the server's session manager. |
java.util.Date |
getStartDate()
Obtain the date the server was started. |
java.util.Date |
getStopDate()
Obtain the date the server was last stopped, or null if the server is running. |
void |
initialize()
Initialize the manager. |
boolean |
isRunning()
Returns true if the server is currently running. |
static void |
main(java.lang.String[] args)
Starts the server from the command line. |
void |
restart()
Restart the NNTP server, if it's currently running. |
void |
setNNTPEnabled(boolean enabled)
Enables or disables the NNTP service. |
void |
shutdown()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NNTPServer getInstance()
public void initialize()
JiveManager
This method is used internally by Jive during application startup and should not be called during normal usage of the class.
initialize
in interface JiveManager
public void destroy()
JiveManager
destroy
in interface JiveManager
public NNTPServerConfig getServerConfig()
public java.util.Date getStartDate() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the module was not initialized.public java.util.Date getStopDate()
public SessionManager getSessionManager() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the module was not started.public ConnectionManager getConnectionManager() throws java.lang.IllegalStateException
java.lang.IllegalStateException
public AcceptManager getAcceptManager() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the module was not started.public boolean isRunning()
public void setNNTPEnabled(boolean enabled)
enabled
- true to enable the NNTP service.public void restart()
public void shutdown()
public static void main(java.lang.String[] args)
args
- the command line arguments
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |