Class IdentFilter
java.lang.Object
org.apache.sshd.common.filter.IoFilter
org.apache.sshd.common.session.filters.IdentFilter
- All Implemented Interfaces:
Filter, Owned<FilterContext>
A filter for sending the identification string before the first outgoing packet, and for receiving the peer's
identification. Once both idents have been sent and received the filter removes itself from the filter chain.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIdentListener(IdentFilter.IdentListener listener) in()Retrieves the filter'sInputHandler.out()Retrieves the filter'sOutputHandler.voidremoveIdentListener(IdentFilter.IdentListener listener) voidsetIdentHandler(SshIdentHandler handler) voidsetPropertyResolver(org.apache.sshd.common.PropertyResolver resolver)
-
Constructor Details
-
IdentFilter
public IdentFilter()
-
-
Method Details
-
setIdentHandler
-
setPropertyResolver
public void setPropertyResolver(org.apache.sshd.common.PropertyResolver resolver) -
in
Description copied from interface:FilterRetrieves the filter'sInputHandler.- Returns:
- the
InputHandleror codenullif this filter is an output-only filter
-
out
Description copied from interface:FilterRetrieves the filter'sOutputHandler.- Returns:
- the
OutputHandleror codenullif this filter is an input-only filter
-
addIdentListener
-
removeIdentListener
-