QuickServer
v1.4.5

org.quickserver.util.xmlreader
Class ServerMode

java.lang.Object
  extended byorg.quickserver.util.xmlreader.ServerMode

public class ServerMode
extends java.lang.Object

This class encapsulate the servers mode. The xml is <server-mode>...</server-mode>

Since:
1.4.5
Author:
Akshathkumar Shetty

Constructor Summary
ServerMode()
           
 
Method Summary
 boolean getBlocking()
          Returns the blocking mode enable flag.
 void setBlocking(boolean blocking)
          Sets the blocking mode enable flag.
 java.lang.String toString()
           
 java.lang.String toXML(java.lang.String pad)
          Returns XML config of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerMode

public ServerMode()
Method Detail

getBlocking

public boolean getBlocking()
Returns the blocking mode enable flag. Default is true.

Returns:
blocking

setBlocking

public void setBlocking(boolean blocking)
Sets the blocking mode enable flag. XML Tag: <server-mode><blocking>true</blocking></server-mode> Allowed values = true | false

Parameters:
blocking -

toXML

public java.lang.String toXML(java.lang.String pad)
Returns XML config of this class.


toString

public java.lang.String toString()

QuickServer
v1.4.5

Copyright © 2003-2005 QuickServer.org