com.esri.arcgis.server
Class ServerMachine

java.lang.Object
  extended by com.esri.arcgis.server.ServerMachine
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IServerMachine, IServerMachine2, IServerMachine3, java.io.Serializable

public class ServerMachine
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IServerMachine, IServerMachine2, IServerMachine3

COM Class 'ServerMachine'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriServer.olb'

Description 'The ServerMachine object which provides information about the ServerMachine.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.server.IServerMachine3
IID, IIDc0445f7e_124c_487d_a364_6506e3574865, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerMachine2
IID7cdddb35_6819_41f6_b2c3_8197f95f65b0
 
Fields inherited from interface com.esri.arcgis.server.IServerMachine
IID2dbbd5d1_193f_4cb0_893f_98dfffdadf1f
 
Constructor Summary
ServerMachine(java.lang.Object obj)
          Construct a ServerMachine using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getAdminURL()
          The admin URL of the server machine.
 int getCapacity()
          The number of desired concurrently available configurations (the capacity) of the ArcGIS Server.
 java.lang.String getDescription()
          The description of the host machine.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of the machine that can host server objects for the GIS server.
 java.lang.String getPlatform()
          The platform of the server machine.
 int getPortCount()
          The total count of ports.
 IEnumBSTR getPortNames()
          The port names.
 int getPortNumber(java.lang.String name)
          The port number of a port.
 int hashCode()
          the hashcode for this object
 void release()
          Release a ServerMachine.
 void setAdminURL(java.lang.String pUrl)
          The admin URL of the server machine.
 void setCapacity(int val)
          The number of desired concurrently available configurations (the capacity) of the ArcGIS Server.
 void setDescription(java.lang.String desc)
          The description of the host machine.
 void setName(java.lang.String name)
          The name of the machine that can host server objects for the GIS server.
 void setPlatform(java.lang.String pPlatform)
          The platform of the server machine.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerMachine

public ServerMachine(java.lang.Object obj)
              throws java.io.IOException
Construct a ServerMachine using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ServerMachine.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ServerMachine o = (ServerMachine)obj; // will not work

ServerMachine o = new ServerMachine(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems ServerMachine theServerMachine = (ServerMachine) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ServerMachine.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the machine that can host server objects for the GIS server.

Specified by:
getName in interface IServerMachine
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String name)
             throws java.io.IOException,
                    AutomationException
The name of the machine that can host server objects for the GIS server.

Specified by:
setName in interface IServerMachine
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
The description of the host machine.

Specified by:
getDescription in interface IServerMachine
Returns:
The desc
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDescription

public void setDescription(java.lang.String desc)
                    throws java.io.IOException,
                           AutomationException
The description of the host machine.

Specified by:
setDescription in interface IServerMachine
Parameters:
desc - The desc (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCapacity

public int getCapacity()
                throws java.io.IOException,
                       AutomationException
The number of desired concurrently available configurations (the capacity) of the ArcGIS Server.

Specified by:
getCapacity in interface IServerMachine2
Returns:
The val
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCapacity

public void setCapacity(int val)
                 throws java.io.IOException,
                        AutomationException
The number of desired concurrently available configurations (the capacity) of the ArcGIS Server.

Specified by:
setCapacity in interface IServerMachine2
Parameters:
val - The val (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAdminURL

public java.lang.String getAdminURL()
                             throws java.io.IOException,
                                    AutomationException
The admin URL of the server machine.

Specified by:
getAdminURL in interface IServerMachine3
Returns:
The pUrl
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAdminURL

public void setAdminURL(java.lang.String pUrl)
                 throws java.io.IOException,
                        AutomationException
The admin URL of the server machine.

Specified by:
setAdminURL in interface IServerMachine3
Parameters:
pUrl - The pUrl (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPlatform

public java.lang.String getPlatform()
                             throws java.io.IOException,
                                    AutomationException
The platform of the server machine.

Specified by:
getPlatform in interface IServerMachine3
Returns:
The pPlatform
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPlatform

public void setPlatform(java.lang.String pPlatform)
                 throws java.io.IOException,
                        AutomationException
The platform of the server machine.

Specified by:
setPlatform in interface IServerMachine3
Parameters:
pPlatform - The pPlatform (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPortCount

public int getPortCount()
                 throws java.io.IOException,
                        AutomationException
The total count of ports.

Specified by:
getPortCount in interface IServerMachine3
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPortNames

public IEnumBSTR getPortNames()
                       throws java.io.IOException,
                              AutomationException
The port names.

Specified by:
getPortNames in interface IServerMachine3
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPortNumber

public int getPortNumber(java.lang.String name)
                  throws java.io.IOException,
                         AutomationException
The port number of a port.

Specified by:
getPortNumber in interface IServerMachine3
Parameters:
name - The name (in)
Returns:
The pNumber
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.