public class HessianSkeleton extends AbstractSkeleton
| Constructor and Description |
|---|
HessianSkeleton(Class<?> apiClass)
Create a new hessian skeleton.
|
HessianSkeleton(Object service,
Class<?> apiClass)
Create a new hessian skeleton.
|
| Modifier and Type | Method and Description |
|---|---|
protected 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(InputStream is,
OutputStream os)
Invoke the object with the request from the input stream.
|
void |
invoke(InputStream is,
OutputStream os,
SerializerFactory serializerFactory)
Invoke the object with the request from the input stream.
|
void |
invoke(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, toStringpublic HessianSkeleton(Object service, Class<?> apiClass)
service - the underlying service object.apiClass - the API interfacepublic HessianSkeleton(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(InputStream is, OutputStream os) throws Exception
in - the Hessian input streamout - the Hessian output streamExceptionpublic void invoke(InputStream is, OutputStream os, SerializerFactory serializerFactory) throws Exception
in - the Hessian input streamout - the Hessian output streamExceptionpublic void invoke(AbstractHessianInput in, AbstractHessianOutput out) throws Exception
in - the Hessian input streamout - the Hessian output streamExceptionpublic void invoke(Object service, AbstractHessianInput in, AbstractHessianOutput out) throws Exception
in - the Hessian input streamout - the Hessian output streamExceptionprotected boolean isDebugInvoke()
protected PrintWriter createDebugPrintWriter() throws IOException
IOExceptionCopyright © 2017 Caucho Technology, Inc. All rights reserved.