Package org.rossonet.rpc
Class ShellSession
- java.lang.Object
-
- org.rossonet.rpc.ShellSession
-
- Direct Known Subclasses:
RpcShellSession
public abstract class ShellSession extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShellSession(RpcEngine rpcEngine)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voiddestroyRpcSession()java.io.OutputStreamgetErrorStream()java.io.InputStreamgetInputStream()intgetMaxThreadPriority()intgetMinThreadPriority()java.io.OutputStreamgetOutputStream()RpcEnginegetRpcEngine()abstract java.lang.StringgetSessionDescription()protected abstract java.lang.StringgetThreadName()intgetThreadPriority()abstract booleanisByteSession()abstract booleanisCharacterSession()abstract booleanisLineSession()protected voidpauseRpcSession()protected abstract voidperiodicalCall()protected voidsetErrorStream(java.io.OutputStream errorStream)protected voidsetInputStream(java.io.InputStream inputStream)protected voidsetMaxThreadPriority(int maxThreadPriority)protected voidsetMinThreadPriority(int minThreadPriority)protected voidsetOutputStream(java.io.OutputStream outputStream)voidsetThreadPriority(int priority)protected voidstartRpcSession()
-
-
-
Constructor Detail
-
ShellSession
public ShellSession(RpcEngine rpcEngine)
-
-
Method Detail
-
destroyRpcSession
protected void destroyRpcSession()
-
getErrorStream
public java.io.OutputStream getErrorStream() throws RpcException- Throws:
RpcException
-
getInputStream
public java.io.InputStream getInputStream() throws RpcException- Throws:
RpcException
-
getMaxThreadPriority
public int getMaxThreadPriority()
-
getMinThreadPriority
public int getMinThreadPriority()
-
getOutputStream
public java.io.OutputStream getOutputStream() throws RpcException- Throws:
RpcException
-
getRpcEngine
public RpcEngine getRpcEngine()
-
getSessionDescription
public abstract java.lang.String getSessionDescription()
-
getThreadName
protected abstract java.lang.String getThreadName()
-
getThreadPriority
public int getThreadPriority()
-
isByteSession
public abstract boolean isByteSession()
-
isCharacterSession
public abstract boolean isCharacterSession()
-
isLineSession
public abstract boolean isLineSession()
-
pauseRpcSession
protected void pauseRpcSession()
-
periodicalCall
protected abstract void periodicalCall()
-
setErrorStream
protected void setErrorStream(java.io.OutputStream errorStream)
-
setInputStream
protected void setInputStream(java.io.InputStream inputStream)
-
setMaxThreadPriority
protected void setMaxThreadPriority(int maxThreadPriority)
-
setMinThreadPriority
protected void setMinThreadPriority(int minThreadPriority)
-
setOutputStream
protected void setOutputStream(java.io.OutputStream outputStream)
-
setThreadPriority
public void setThreadPriority(int priority)
-
startRpcSession
protected void startRpcSession()
-
-