
public abstract class ConnectionActions extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FilesystemBasedDigest |
globalDigest
Global Digest in receive
|
protected LocalChannelReference |
localChannelReference
Local Channel Reference
|
protected FilesystemBasedDigest |
localDigest
Global Digest in receive using local hash if necessary
|
protected R66Session |
session
Session
|
| Constructor and Description |
|---|
ConnectionActions() |
| Modifier and Type | Method and Description |
|---|---|
void |
authent(AuthentPacket packet,
boolean isSsl)
Authentication
|
void |
channelClosed()
Operations to ensure that channel closing is done correctly
|
void |
connectionError(ConnectionErrorPacket packet)
Receive a connection error
|
void |
errorMesg(ErrorPacket packet)
Receive a remote error
|
LocalChannelReference |
getLocalChannelReference() |
R66Session |
getSession() |
void |
newSession()
Create a new Session at startup of the channel
|
protected void |
setLocalChannelReference(LocalChannelReference localChannelReference) |
void |
startup(StartupPacket packet)
Startup of the session and the local channel reference
|
void |
tryFinalizeRequest(R66Result errorValue)
Try to finalize the request if possible
|
protected volatile R66Session session
protected volatile LocalChannelReference localChannelReference
protected FilesystemBasedDigest globalDigest
protected FilesystemBasedDigest localDigest
public R66Session getSession()
public LocalChannelReference getLocalChannelReference()
public void channelClosed()
public void newSession()
protected void setLocalChannelReference(LocalChannelReference localChannelReference)
public void startup(StartupPacket packet) throws OpenR66ProtocolPacketException
packet - OpenR66ProtocolPacketExceptionpublic void authent(AuthentPacket packet, boolean isSsl) throws OpenR66ProtocolPacketException
packet - OpenR66ProtocolPacketExceptionpublic void connectionError(ConnectionErrorPacket packet)
packet - public void errorMesg(ErrorPacket packet) throws OpenR66RunnerErrorException, OpenR66ProtocolSystemException, OpenR66ProtocolBusinessException
packet - OpenR66RunnerErrorExceptionOpenR66ProtocolSystemExceptionOpenR66ProtocolBusinessExceptionpublic final void tryFinalizeRequest(R66Result errorValue) throws OpenR66RunnerErrorException, OpenR66ProtocolSystemException
errorValue - in case of ErrorOpenR66ProtocolSystemExceptionOpenR66RunnerErrorExceptionCopyright © 2009–2020 Waarp. All rights reserved.