com.sshtools.j2ssh.transport
Class TransportProtocolAlgorithmSync

java.lang.Object
  extended by com.sshtools.j2ssh.transport.TransportProtocolAlgorithmSync

public class TransportProtocolAlgorithmSync
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
$author$

Field Summary
private  SshCipher cipher
           
private  SshCompression compression
           
private  SshHmac hmac
           
private  boolean isLocked
           
private static org.apache.commons.logging.Log log
           
 
Constructor Summary
TransportProtocolAlgorithmSync()
          Creates a new TransportProtocolAlgorithmSync object.
 
Method Summary
 SshCipher getCipher()
           
 SshCompression getCompression()
           
 SshHmac getHmac()
           
 void lock()
           
 void release()
           
 void setCipher(SshCipher cipher)
           
 void setCompression(SshCompression compression)
           
 void setHmac(SshHmac hmac)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.commons.logging.Log log

cipher

private SshCipher cipher

compression

private SshCompression compression

hmac

private SshHmac hmac

isLocked

private boolean isLocked
Constructor Detail

TransportProtocolAlgorithmSync

public TransportProtocolAlgorithmSync()
Creates a new TransportProtocolAlgorithmSync object.

Method Detail

setCipher

public void setCipher(SshCipher cipher)
Parameters:
cipher -

getCipher

public SshCipher getCipher()
Returns:

setCompression

public void setCompression(SshCompression compression)
Parameters:
compression -

getCompression

public SshCompression getCompression()
Returns:

setHmac

public void setHmac(SshHmac hmac)
Parameters:
hmac -

getHmac

public SshHmac getHmac()
Returns:

lock

public void lock()

release

public void release()