Package jcifs
Interface SmbTransport
-
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
SmbTransportInternal
public interface SmbTransport extends AutoCloseable
Opaque reference to a SMB transport- Author:
- mbechler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
CIFSContext
getContext()
Address
getRemoteAddress()
String
getRemoteHostName()
<T extends SmbTransport>
Tunwrap(Class<T> type)
-
-
-
Method Detail
-
getContext
CIFSContext getContext()
- Returns:
- the context this transport is attached to
-
unwrap
<T extends SmbTransport> T unwrap(Class<T> type)
- Parameters:
type
-- Returns:
- transport instance with the given type
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
- See Also:
AutoCloseable.close()
-
getRemoteAddress
Address getRemoteAddress()
- Returns:
- the connected address
-
getRemoteHostName
String getRemoteHostName()
- Returns:
- the connected host name
-
-