public class ServerProcess extends Object implements Serializable, Cloneable
A set of instructions for launching server processes on each instance in a
fleet. Each instruction set identifies the location of the server executable,
optional launch parameters, and the number of server processes with this
configuration to maintain concurrently on the instance. Server process
configurations make up a fleet's RuntimeConfiguration.
| Constructor and Description |
|---|
ServerProcess() |
| Modifier and Type | Method and Description |
|---|---|
ServerProcess |
clone() |
boolean |
equals(Object obj) |
Integer |
getConcurrentExecutions()
Number of server processes using this configuration to run concurrently
on an instance.
|
String |
getLaunchPath()
Location in the game build of the server executable.
|
String |
getParameters()
Optional list of parameters to pass to the server executable on launch.
|
int |
hashCode() |
void |
setConcurrentExecutions(Integer concurrentExecutions)
Number of server processes using this configuration to run concurrently
on an instance.
|
void |
setLaunchPath(String launchPath)
Location in the game build of the server executable.
|
void |
setParameters(String parameters)
Optional list of parameters to pass to the server executable on launch.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ServerProcess |
withConcurrentExecutions(Integer concurrentExecutions)
Number of server processes using this configuration to run concurrently
on an instance.
|
ServerProcess |
withLaunchPath(String launchPath)
Location in the game build of the server executable.
|
ServerProcess |
withParameters(String parameters)
Optional list of parameters to pass to the server executable on launch.
|
public void setLaunchPath(String launchPath)
Location in the game build of the server executable. All game builds are
installed on instances at the root C:\game\..., so an
executable file located at MyGame\latest\server.exe has a
launch path of "C:\game\MyGame\latest\server.exe".
launchPath - Location in the game build of the server executable. All game
builds are installed on instances at the root
C:\game\..., so an executable file located at
MyGame\latest\server.exe has a launch path of "
C:\game\MyGame\latest\server.exe".public String getLaunchPath()
Location in the game build of the server executable. All game builds are
installed on instances at the root C:\game\..., so an
executable file located at MyGame\latest\server.exe has a
launch path of "C:\game\MyGame\latest\server.exe".
C:\game\..., so an executable file located at
MyGame\latest\server.exe has a launch path of "
C:\game\MyGame\latest\server.exe".public ServerProcess withLaunchPath(String launchPath)
Location in the game build of the server executable. All game builds are
installed on instances at the root C:\game\..., so an
executable file located at MyGame\latest\server.exe has a
launch path of "C:\game\MyGame\latest\server.exe".
launchPath - Location in the game build of the server executable. All game
builds are installed on instances at the root
C:\game\..., so an executable file located at
MyGame\latest\server.exe has a launch path of "
C:\game\MyGame\latest\server.exe".public void setParameters(String parameters)
Optional list of parameters to pass to the server executable on launch.
parameters - Optional list of parameters to pass to the server executable on
launch.public String getParameters()
Optional list of parameters to pass to the server executable on launch.
public ServerProcess withParameters(String parameters)
Optional list of parameters to pass to the server executable on launch.
parameters - Optional list of parameters to pass to the server executable on
launch.public void setConcurrentExecutions(Integer concurrentExecutions)
Number of server processes using this configuration to run concurrently on an instance.
concurrentExecutions - Number of server processes using this configuration to run
concurrently on an instance.public Integer getConcurrentExecutions()
Number of server processes using this configuration to run concurrently on an instance.
public ServerProcess withConcurrentExecutions(Integer concurrentExecutions)
Number of server processes using this configuration to run concurrently on an instance.
concurrentExecutions - Number of server processes using this configuration to run
concurrently on an instance.public String toString()
toString in class ObjectObject.toString()public ServerProcess clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.