public class ServiceConfigInfo extends java.lang.Object implements DCEReadable, DCEWriteable
Contains the details of a remote NT service.
Constructor and Description |
---|
ServiceConfigInfo()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBinaryPath()
Return the service executable path
|
StringList |
getDependencies()
Return the service dependency list
|
java.lang.String |
getDisplayName()
Return the service display name
|
int |
getErrorControl()
Return the service error control
|
java.lang.String |
getLoadOrderGroup()
Return the service load order group
|
int |
getLoadOrderTag()
Return the load order group tag id
|
int |
getServiceType()
Return the service type
|
java.lang.String |
getStartName()
Return the service start name
|
int |
getStartType()
Return the service start type
|
boolean |
hasDependencies()
Determine if the service has a dependency list
|
void |
readObject(DCEBuffer buf)
Read the service configuration information from the DCE buffer
|
void |
readStrings(DCEBuffer buf)
Read the strings for this object from the DCE/RPC buffer
|
void |
setBinaryPath(java.lang.String path)
Set the binary path
|
void |
setDependencies(StringList depList)
Set the dependent service name list
|
void |
setDisplayName(java.lang.String dispName)
Set the service display name
|
void |
setErrorControl(int errCtrl)
Set the error control
|
void |
setLoadOrderGroup(java.lang.String group)
Set the load order group
|
void |
setServiceType(int typ)
Set the service type
|
void |
setStartName(java.lang.String name)
Set the startup name
|
void |
setStartType(int typ)
Set the start type
|
java.lang.String |
toString()
Return the service configuration information as a string
|
void |
writeObject(DCEBuffer buf,
DCEBuffer strBuf)
Write the service configuration to the DCE buffer
|
public final int getServiceType()
public final int getStartType()
public final int getErrorControl()
public final java.lang.String getBinaryPath()
public final java.lang.String getLoadOrderGroup()
public final int getLoadOrderTag()
public final boolean hasDependencies()
public final StringList getDependencies()
public final java.lang.String getStartName()
public final java.lang.String getDisplayName()
public final void setServiceType(int typ)
typ
- intpublic final void setStartType(int typ)
typ
- intpublic final void setErrorControl(int errCtrl)
errCtrl
- intpublic final void setBinaryPath(java.lang.String path)
path
- Stringpublic final void setLoadOrderGroup(java.lang.String group)
group
- Stringpublic final void setDependencies(StringList depList)
depList
- StringListpublic final void setStartName(java.lang.String name)
name
- Stringpublic final void setDisplayName(java.lang.String dispName)
dispName
- Stringpublic void readObject(DCEBuffer buf) throws DCEBufferException
readObject
in interface DCEReadable
buf
- DCEBufferDCEBufferException
DCESerializable#readObject(DCEBuffer)
public void readStrings(DCEBuffer buf) throws DCEBufferException
readStrings
in interface DCEReadable
buf
- DCEBufferDCEBufferException
public void writeObject(DCEBuffer buf, DCEBuffer strBuf) throws DCEBufferException
writeObject
in interface DCEWriteable
buf
- DCEBufferstrBuf
- DCEBufferDCEBufferException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.