Skip to content

1.2.0

Latest
Compare
Choose a tag to compare
@swaechter swaechter released this 28 Aug 19:18
· 4 commits to master since this release

New Features

  • Use the latest smbj version 0.11.5
  • The SmbConnection class can now delay the SMB connection until the first real SMB request is made (So called lazy initialization). This feature is useful for systems that create too many parallel SMB sessions that would exceed the SMB session pool. The SMB connection is made on the first method call that requires an active SMB connection.
  • The SmbConnection class now provides a SmbConnection.isConnectionAlive() method to check if the SMB connection is alive. If the SMB connection is not alive, a call to SmbConnection.ensureConnectionIsAlive() recreates the SMB connection if required. This feature is useful for system that use a long living SmbConnection where the SMB connection times out and it's not possible to recreate the SmbConnection manually.
  • The SmbOutputStream now provides two overloaded methods SmbOutputStream.write(bytes) and SmbOutputStream.write(bytes, offset, length) methods for more fine grained write scenarios. The second function only works in non-appending context.

Breaking Changes

  • None

Known Issues

  • None