org.jsesoft.jse.jsegl
Class Service

java.lang.Object
  |
  +--org.jsesoft.jse.Root
        |
        +--org.jsesoft.jse.jsegl.JseglRoot
              |
              +--org.jsesoft.jse.jsegl.Service
Direct Known Subclasses:
Connection, Message, Session, Stream

public class Service
extends JseglRoot

Generated: Adapts C++ class Service to Java.


JSE C++: Generated at Mon Mar 31 08:04:55 2003 using XSLT stylesheet jsegl_java.xsl and source jsegl.i v3.01.055 with processor Apache Software Foundation at XSLT version 1
DO NOT TOUCH! All changes get lost next time this class is generated.

Version:
Mon Mar 31 08:04:55 2003
Author:
JSESoft
See Also:
native doc for details.

Field Summary
protected static org.apache.log4j.Logger logger
          The logger to use.
 
Fields inherited from class org.jsesoft.jse.jsegl.JseglRoot
messages, resources
 
Constructor Summary
protected Service(int delegate)
          Create an instance from inside native code.
  Service(java.lang.String adapterlibname, java.lang.String adapterlibinit, java.lang.String servicename)
          Generated wrapper function for native constructor.
 
Method Summary
 void destroy()
          Destroys the native adaptee.
protected  void finalize()
          Destructs Java, delegate, and adaptee instance.
 boolean isValid()
          Generated wrapper function for native function.
 void request(int controlSize, int control, int statusSize, int status, int requestSize, int request, int responseSize, int response, int contextSize, int context)
          Generated wrapper function for native function.
 void response(int controlSize, int control, int statusSize, int status, int responseSize, int response, int contextSize, int context)
          Generated wrapper function for native virtual function.
 
Methods inherited from class org.jsesoft.jse.jsegl.JseglRoot
byteArray2Void, byteBuffer2Void, destroyVoid, get__Delegate, getResourceMessage, getResourceMessage, getResourceObject, getResourceString, set__Delegate, setMessageResourceBundle, setPackageResourceBundle, void2ByteArray, void2ByteBuffer
 
Methods inherited from class org.jsesoft.jse.Root
decrementNumber, incrementNumber, intFromByteArray, intToByteArray, longFromByteArray, longToByteArray, shortFromByteArray, shortToByteArray
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.apache.log4j.Logger logger
The logger to use.

Constructor Detail

Service

protected Service(int delegate)
Create an instance from inside native code.
This constructor is used by native code only.

Parameters:
delegate - a handle to the related delegate instance

Service

public Service(java.lang.String adapterlibname,
               java.lang.String adapterlibinit,
               java.lang.String servicename)
Generated wrapper function for native constructor.

Parameters:
adapterlibname - for details see native doc.
adapterlibinit - for details see native doc.
servicename - for details see native doc.
Method Detail

destroy

public void destroy()
Destroys the native adaptee.


finalize

protected void finalize()
                 throws java.lang.Throwable
Destructs Java, delegate, and adaptee instance.
In order to destruct the native delgate and adaptee instance, the Java application must ensure, that this function is called. Otherwise, memory leak are more than likely.

Overrides:
finalize in class java.lang.Object
Throws:
Trowable - on any problems
java.lang.Throwable

isValid

public final boolean isValid()
Generated wrapper function for native function.

Returns:
for details see native doc.

request

public final void request(int controlSize,
                          int control,
                          int statusSize,
                          int status,
                          int requestSize,
                          int request,
                          int responseSize,
                          int response,
                          int contextSize,
                          int context)
Generated wrapper function for native function.

Parameters:
controlSize - for details see native doc.
control - for details see native doc.
statusSize - for details see native doc.
status - for details see native doc.
requestSize - for details see native doc.
request - for details see native doc.
responseSize - for details see native doc.
response - for details see native doc.
contextSize - for details see native doc.
context - for details see native doc.

response

public void response(int controlSize,
                     int control,
                     int statusSize,
                     int status,
                     int responseSize,
                     int response,
                     int contextSize,
                     int context)
Generated wrapper function for native virtual function.

Parameters:
controlSize - for details see native doc.
control - for details see native doc.
statusSize - for details see native doc.
status - for details see native doc.
responseSize - for details see native doc.
response - for details see native doc.
contextSize - for details see native doc.
context - for details see native doc.