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 |
---|---|
boolean |
allowReusableAuthentication() |
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() |
boolean |
hasReusableAuthentication() |
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
|
boolean |
validateAuthenticationReuse() |
protected R66Session session
protected LocalChannelReference localChannelReference
protected FilesystemBasedDigest globalDigest
protected FilesystemBasedDigest localDigest
public final R66Session getSession()
public final LocalChannelReference getLocalChannelReference()
public final void channelClosed()
public final void newSession()
protected final void setLocalChannelReference(LocalChannelReference localChannelReference)
public final void startup(StartupPacket packet) throws OpenR66ProtocolPacketException
packet
- OpenR66ProtocolPacketException
public final void authent(AuthentPacket packet, boolean isSsl) throws OpenR66ProtocolPacketException
packet
- OpenR66ProtocolPacketException
public final boolean allowReusableAuthentication()
public final boolean hasReusableAuthentication()
public final boolean validateAuthenticationReuse() throws OpenR66ProtocolNotAuthenticatedException
public final void connectionError(ConnectionErrorPacket packet)
packet
- public final void errorMesg(ErrorPacket packet) throws OpenR66RunnerErrorException, OpenR66ProtocolSystemException, OpenR66ProtocolBusinessException
packet
- OpenR66RunnerErrorException
OpenR66ProtocolSystemException
OpenR66ProtocolBusinessException
public final void tryFinalizeRequest(R66Result errorValue) throws OpenR66RunnerErrorException, OpenR66ProtocolSystemException
errorValue
- in case of ErrorOpenR66ProtocolSystemException
OpenR66RunnerErrorException
Copyright © 2009–2022 Waarp. All rights reserved.