diff options
| author | eea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-12 03:30:27 +0000 |
|---|---|---|
| committer | eea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-12 03:30:27 +0000 |
| commit | bcfd180be7842a3a9b9844ba89b4d2e7b2a13bdf (patch) | |
| tree | 95494f406bf45e1b60683f400d508b8f9cd23751 /java/src/ResumeNode.java | |
| parent | 85c09b7bf921d730f8e0203693425dd0c03e92da (diff) | |
| download | ATCD-bcfd180be7842a3a9b9844ba89b4d2e7b2a13bdf.tar.gz | |
Checks in the new additions to the ServiceConfigurator, makes a few
small adjustments to the sockets, and removes a deprecation problem
with a String in BlobReader. Acceptor's socket acceptor was changed
to protected rather than private.
The new files are broken down as follows:
Files that are involved in loading a C++ service config file to
load Java ACE network services:
Svc_Conf.y
parser.java
sym.java
Yylex.lex
ClassNameGenerator.java
Files that have to do with the overall restructuring of the Service
Configurator such that suspend/resume/remove and the service repository
are added:
AddServiceObjectNode.java
ClassReader.java Extracts the full class name from a .class file
SuspendNode.java
ResumeNode.java
RemoveNode.java
ServiceRecord.java Repository wrapper, makes calls via reflection
ServiceObjectRecord.java Wrapper for ServiceObjects specifically
Diffstat (limited to 'java/src/ResumeNode.java')
| -rw-r--r-- | java/src/ResumeNode.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/java/src/ResumeNode.java b/java/src/ResumeNode.java new file mode 100644 index 00000000000..00d42a2994a --- /dev/null +++ b/java/src/ResumeNode.java @@ -0,0 +1,37 @@ +/************************************************* + * + * = PACKAGE + * JACE.ServiceConfigurator + * + * = FILENAME + * ResumeNode.java + * + * Used when a service is specified to be resumed based on a line + * in a service configurator file. The actual implementation of the + * service being resumed does the work. + * + *@author Everett Anderson + * + *************************************************/ +package JACE.ServiceConfigurator; + +import java.io.*; +import JACE.ServiceConfigurator.*; +import JACE.OS.*; +import java_cup.runtime.*; + +class ResumeNode extends ParseNode +{ + public ResumeNode (int act_num) + { + super(act_num); + } + + public void apply () + { + ACE.DEBUG("ResumeNode apply: " + this.name_); + + if (JACE.ServiceConfigurator.ServiceConfig.resume(this.name_) == -1) + ACE.ERROR("Error resuming " + this.name_); + } +}; |
