com.sap.security.core.server.vsi.api
Interface Server

All Superinterfaces:
Provider

public interface Server
extends Provider

Virus Scan Server object. This class represents the "Virus Scan Server" and its characteristics.

The Virus Scan Server is a RFC based server program, which receives data over TCP/IP and scans this content for any infections.

The Virus Scan Server communicates over TCP/IP (SAP RFC protocol) with the JAVA AS (application server) and should only be used for platform or process architecture reasons, e.g. the required OS of SAP NetWeaver and external AV product are different. The server itself uses the virus scan adapter. Thats the reason why there is a link getAdapter() between the Server and the Adapter. The Virus Scan Server is a product of SAP within the SAP NetWeaver suite.

History:

     1.0      Initial Version for SAP NetWeaver 04
     1.1      Added a pattern for clean test.
     1.5      Enhancements in the native VSI layer
     1.6      Dual runtime support (JAVA standalone and J2EE)
	

Since:
1.0
Version:
1.6, $DateTime: 2007/03/27 12:26:05 $
See Also:
getAdapter(), Provider.getServer(), Instance

Method Summary
 Adapter getAdapter()
          Get the internal VSA (adapter) object.
 java.lang.String getBuildInfo()
          Get build information string about the Virus Scan Server.
 java.lang.String getName()
          Get the name of the Virus Scan Server provider.
 int getServerMajorVersion()
          Get the major version number of the server.
 int getServerMinorVersion()
          Get the minor version number of the server.
 java.lang.String getServerVersion()
          Get the version string of the Virus Scan Server.
 java.util.Date getStartupDate()
          Get the date of the server startup.
 
Methods inherited from interface com.sap.security.core.server.vsi.api.Provider
getDrivers, getEngine, getLastInitTime, getParameter, getParameters, getServer, isServer, setDefaultConfig, setParameter
 

Method Detail

getName

public java.lang.String getName()
Get the name of the Virus Scan Server provider.
Specified by:
getName in interface Provider
Returns:
The defined name of the Virus Scan Server. Defined in the config framework.

getBuildInfo

public java.lang.String getBuildInfo()
                              throws VSIServiceException
Get build information string about the Virus Scan Server.
Returns:
Build info string.
Throws:
VSIServiceException -  

getStartupDate

public java.util.Date getStartupDate()
                              throws VSIServiceException
Get the date of the server startup.
Returns:
Date of start.
Throws:
VSIServiceException -  

getServerMajorVersion

public int getServerMajorVersion()
                          throws VSIServiceException
Get the major version number of the server.
Returns:
Major Version.
Throws:
VSIServiceException -  

getServerMinorVersion

public int getServerMinorVersion()
                          throws VSIServiceException
Get the minor version number of the server.
Returns:
Minor Verison.
Throws:
VSIServiceException -  

getServerVersion

public java.lang.String getServerVersion()
                                  throws VSIServiceException
Get the version string of the Virus Scan Server.
Returns:
Version string.
Throws:
VSIServiceException -  

getAdapter

public Adapter getAdapter()
Get the internal VSA (adapter) object.
Specified by:
getAdapter in interface Provider
Returns:
Adapter object.