Package com.sshtools.j2ssh.transport
Interface TransportProtocol
- All Known Implementing Classes:
TransportProtocolClient
,TransportProtocolCommon
,TransportProtocolServer
public interface TransportProtocol
- Version:
- $Revision: 1.25 $
- Author:
- $author$
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessageStore
(SshMessageStore store) void
disconnect
(String description) int
byte[]
getState()
boolean
readMessage
(int[] filter) void
sendMessage
(SshMessage ms, Object sender)
-
Method Details
-
disconnect
- Parameters:
description
-
-
addMessageStore
- Parameters:
store
-- Throws:
MessageAlreadyRegisteredException
-
sendMessage
- Parameters:
ms
-sender
-- Throws:
IOException
-
readMessage
- Parameters:
filter
-- Returns:
- Throws:
IOException
-
getSessionIdentifier
byte[] getSessionIdentifier()- Returns:
-
getConnectionId
int getConnectionId()- Returns:
-
isConnected
boolean isConnected() -
getState
TransportProtocolState getState()- Returns:
-
getUnderlyingProviderDetail
String getUnderlyingProviderDetail()
-