com.monoserv
Class InstanceModifier

java.lang.Object
  extended by com.monoserv.InstanceModifier

public class InstanceModifier
extends java.lang.Object

Allows the modules to set fields which will force the MonoServerInstance to react based on the fields set. Tied to the module and optional.


Constructor Summary
InstanceModifier()
          Blank constructor
 
Method Summary
 boolean closeSocketAfterSend()
          Determines if the socket should be closed after the data stream has been written and flushed.
 void enableCloseSocketAfterSend()
          Tells the MonoServerInstance to close the socket after the data stream has been written and flushed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceModifier

public InstanceModifier()
Blank constructor

Method Detail

enableCloseSocketAfterSend

public void enableCloseSocketAfterSend()
Tells the MonoServerInstance to close the socket after the data stream has been written and flushed.


closeSocketAfterSend

public boolean closeSocketAfterSend()
Determines if the socket should be closed after the data stream has been written and flushed.

Returns:
boolean true if we are to close the socket, false otherwise.