public class HessianSkeleton extends AbstractSkeleton
Constructor and Description |
---|
HessianSkeleton(java.lang.Class<?> apiClass)
Create a new hessian skeleton.
|
HessianSkeleton(java.lang.Object service,
java.lang.Class<?> apiClass)
Create a new hessian skeleton.
|
Modifier and Type | Method and Description |
---|---|
protected java.io.PrintWriter |
createDebugPrintWriter()
Creates the PrintWriter for debug output.
|
void |
invoke(AbstractHessianInput in,
AbstractHessianOutput out)
Invoke the object with the request from the input stream.
|
void |
invoke(java.io.InputStream is,
java.io.OutputStream os)
Invoke the object with the request from the input stream.
|
void |
invoke(java.io.InputStream is,
java.io.OutputStream os,
SerializerFactory serializerFactory)
Invoke the object with the request from the input stream.
|
void |
invoke(java.lang.Object service,
AbstractHessianInput in,
AbstractHessianOutput out)
Invoke the object with the request from the input stream.
|
boolean |
isDebug() |
protected boolean |
isDebugInvoke() |
void |
setDebug(boolean isDebug) |
void |
setHessianFactory(HessianFactory factory) |
getAPIClassName, getHomeClassName, getMethod, getObjectClassName, mangleClass, mangleName, setHomeClass, setObjectClass, toString
public HessianSkeleton(java.lang.Object service, java.lang.Class<?> apiClass)
service
- the underlying service object.apiClass
- the API interfacepublic HessianSkeleton(java.lang.Class<?> apiClass)
service
- the underlying service object.apiClass
- the API interfacepublic void setDebug(boolean isDebug)
public boolean isDebug()
public void setHessianFactory(HessianFactory factory)
public void invoke(java.io.InputStream is, java.io.OutputStream os) throws java.lang.Exception
in
- the Hessian input streamout
- the Hessian output streamjava.lang.Exception
public void invoke(java.io.InputStream is, java.io.OutputStream os, SerializerFactory serializerFactory) throws java.lang.Exception
in
- the Hessian input streamout
- the Hessian output streamjava.lang.Exception
public void invoke(AbstractHessianInput in, AbstractHessianOutput out) throws java.lang.Exception
in
- the Hessian input streamout
- the Hessian output streamjava.lang.Exception
public void invoke(java.lang.Object service, AbstractHessianInput in, AbstractHessianOutput out) throws java.lang.Exception
in
- the Hessian input streamout
- the Hessian output streamjava.lang.Exception
protected boolean isDebugInvoke()
protected java.io.PrintWriter createDebugPrintWriter() throws java.io.IOException
java.io.IOException