Package org.acplt.oncrpc.apps.jrpcgen
Class JrpcgenVersionInfo
java.lang.Object
org.acplt.oncrpc.apps.jrpcgen.JrpcgenVersionInfo
The
JrpcgenVersionInfo
class contains information about a
specific version of an ONC/RPC program as defined in a rpcgen "x"-file.- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/08/13 12:03:47 $ $State: Exp $ $Locker: $
- Author:
- Harald Albrecht
-
Field Summary
FieldsModifier and TypeFieldDescriptionSet of procedures specified for a particular ONC/RPC program.Identifier assigned to the version number of an ONC/RPC program.Version number assigned to an ONC/RPC program. -
Constructor Summary
ConstructorsConstructorDescriptionJrpcgenVersionInfo
(String versionId, String versionNumber, Vector procedures) Constructs a newJrpcgenVersionInfo
object containing information about a programs' version and a set of procedures defined by this program version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dumpConstants
(PrintWriter out) Generates source code to define the version constant belonging to this program.
-
Field Details
-
versionNumber
Version number assigned to an ONC/RPC program. This attribute contains either an integer literal or an identifier (which must resolve to an integer). -
versionId
Identifier assigned to the version number of an ONC/RPC program. -
procedures
Set of procedures specified for a particular ONC/RPC program. The elements in the set are of classJrpcgenProcedureInfo
.
-
-
Constructor Details
-
JrpcgenVersionInfo
Constructs a newJrpcgenVersionInfo
object containing information about a programs' version and a set of procedures defined by this program version.- Parameters:
versionId
- Identifier defined for this version of a particular ONC/RPC program.versionNumber
- Version number.procedures
- Vector of procedures defined for this ONC/RPC program.
-
-
Method Details
-
dumpConstants
Generates source code to define the version constant belonging to this program.- Parameters:
out
- PrintWriter to send source code to.
-