org.tranche.server
Class SetConfigurationItem
java.lang.Object
org.tranche.server.ServerItem
org.tranche.server.SetConfigurationItem
public class SetConfigurationItem
- extends ServerItem
Handles requests to save server configuration.
- Author:
- Jayson Falkner - jfalkner@umich.edu, James "Augie" Hill - augman85@gmail.com
|
Method Summary |
void |
doAction(java.io.InputStream in,
java.io.OutputStream out,
java.lang.String clientIP)
Handle the server's action. |
static void |
writeRequest(boolean writeHeader,
byte[] bytes,
Signature signature,
byte[] nonce,
java.io.OutputStream out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetConfigurationItem
public SetConfigurationItem(Server server)
- Parameters:
server - the server
doAction
public void doAction(java.io.InputStream in,
java.io.OutputStream out,
java.lang.String clientIP)
throws java.lang.Exception
- Description copied from class:
ServerItem
Handle the server's action.
- Specified by:
doAction in class ServerItem
- Parameters:
in - The input streamout - The output streamclientIP - So the transaction can be logged with client IP address.
- Throws:
java.lang.Exception
writeRequest
public static void writeRequest(boolean writeHeader,
byte[] bytes,
Signature signature,
byte[] nonce,
java.io.OutputStream out)
throws java.lang.Exception
- Parameters:
writeHeader - bytes - signature - nonce - out -
- Throws:
java.lang.Exception
This code is free for use both commercially and non-commercially as stated in the project's license