|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a specific attribute of a ServerDirContext. The ID of the attribute is equal to ATTR_ID, and the attribute value is an object that implements the ServerCounts interface.
The ServerCounts attribute does not support expanded search capabilities, and thus, all fields must be set in a search request.
Field Summary | |
static java.lang.String |
ATTR_ID
The attribute ID of this attribute whose value is ServerCounts. |
static java.lang.String |
attrID
Deprecated. This member will be removed. Use ATTR_ID instead. |
Method Summary | |
short |
getConnectionsInUse()
Returns the number of connections currently in use. |
short |
getMaxConnections()
Returns the maximum number of connection slots that the server has allocated since it was started. |
short |
getMaxConnectionsUsed()
Returns the maximum number of licensed connections in use at one time. |
short |
getMaxVolumes()
Returns the maximum number of volumes supported. |
int |
getNumberOfNCPRequests()
Returns the number of the NCP requests since the server was started. |
byte |
getSFTLevel()
Returns the SFT level of the server. |
byte |
getTTSLevel()
Returns the TTS level of the server. |
void |
setConnectionsInUse(short value)
Sets the number of connections currently in use as the search value. |
void |
setMaxConnections(short value)
Sets the maximum number of connection slots as the search value. |
void |
setMaxConnectionsUsed(short value)
Sets the maximum number of licensed connections in use at one time as the search value. |
void |
setMaxVolumes(short value)
Sets the maximum number of volumes supported as the search value. |
void |
setNumberOfNCPRequests(int value)
Sets the number of NCP requests as the search value. |
void |
setSFTLevel(byte value)
Sets the SFT level of the server as the search value. |
void |
setTTSLevel(byte value)
Sets the TTS level of the server as the search value. |
Field Detail |
public static final java.lang.String ATTR_ID
(ATTR_ID = "ServerCounts")
public static final java.lang.String attrID
Method Detail |
public int getNumberOfNCPRequests() throws com.novell.service.jncp.NSIException
public short getMaxConnections() throws com.novell.service.jncp.NSIException
public short getMaxConnectionsUsed() throws com.novell.service.jncp.NSIException
public short getConnectionsInUse() throws com.novell.service.jncp.NSIException
public short getMaxVolumes() throws com.novell.service.jncp.NSIException
public byte getSFTLevel() throws com.novell.service.jncp.NSIException
public byte getTTSLevel() throws com.novell.service.jncp.NSIException
public void setNumberOfNCPRequests(int value) throws com.novell.service.jncp.NSIException
value
- The number of NCP requests.public void setMaxConnections(short value) throws com.novell.service.jncp.NSIException
value
- The maximum number of connection slots.public void setMaxConnectionsUsed(short value) throws com.novell.service.jncp.NSIException
value
- The maximum number of connections.public void setConnectionsInUse(short value) throws com.novell.service.jncp.NSIException
value
- The number of connections in use.public void setMaxVolumes(short value) throws com.novell.service.jncp.NSIException
value
- The number of volumes supported.public void setSFTLevel(byte value) throws com.novell.service.jncp.NSIException
value
- The server's SFT level.public void setTTSLevel(byte value) throws com.novell.service.jncp.NSIException
value
- The server's TTS level.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |