| |
|
| java.lang.Object com.sshtools.j2ssh.transport.TransportProtocolCommon com.sshtools.daemon.transport.TransportProtocolServer
TransportProtocolServer | public TransportProtocolServer() throws IOException(Code) | | Creates a new TransportProtocolServer object.
throws: IOException - |
TransportProtocolServer | public TransportProtocolServer(boolean refuse) throws IOException(Code) | | Creates a new TransportProtocolServer object.
Parameters: refuse - throws: IOException - |
onDisconnect | protected void onDisconnect()(Code) | | |
setLocalIdent | protected void setLocalIdent()(Code) | | |
setRemoteIdent | protected void setRemoteIdent(String ident)(Code) | | Parameters: ident - |
Methods inherited from com.sshtools.j2ssh.transport.TransportProtocolCommon | public void addEventHandler(TransportProtocolEventHandler eventHandler)(Code)(Java Doc) public void addMessageStore(SshMessageStore store) throws MessageAlreadyRegisteredException(Code)(Java Doc) protected void beginKeyExchange() throws IOException, KeyExchangeException(Code)(Java Doc) protected void completeKeyExchange() throws IOException(Code)(Java Doc) protected SshMsgKexInit createLocalKexInit() throws IOException(Code)(Java Doc) protected String determineAlgorithm(List clientAlgorithms, List serverAlgorithms) throws AlgorithmNotAgreedException(Code)(Java Doc) public void disconnect(String description)(Code)(Java Doc) public int getConnectionId()(Code)(Java Doc) abstract protected String getDecryptionAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc) abstract protected String getEncryptionAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc) protected List getEventHandlers()(Code)(Java Doc) public long getIncomingByteCount()(Code)(Java Doc) abstract protected String getInputStreamCompAlgortihm() throws AlgorithmNotAgreedException(Code)(Java Doc) abstract protected String getInputStreamMacAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc) protected String getKexAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc) abstract public String getLocalId()(Code)(Java Doc) abstract protected SshMsgKexInit getLocalKexInit()(Code)(Java Doc) public long getOutgoingByteCount()(Code)(Java Doc) abstract protected String getOutputStreamCompAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc) abstract protected String getOutputStreamMacAlgorithm() throws AlgorithmNotAgreedException(Code)(Java Doc) public SshConnectionProperties getProperties()(Code)(Java Doc) public int getRemoteEOL()(Code)(Java Doc) abstract public String getRemoteId()(Code)(Java Doc) abstract protected SshMsgKexInit getRemoteKexInit()(Code)(Java Doc) public byte[] getSessionIdentifier()(Code)(Java Doc) public TransportProtocolState getState()(Code)(Java Doc) public String getUnderlyingProviderDetail()(Code)(Java Doc) public boolean isConnected()(Code)(Java Doc) protected void onCorruptMac()(Code)(Java Doc) abstract protected void onDisconnect()(Code)(Java Doc) abstract protected void onMessageReceived(SshMessage msg) throws IOException(Code)(Java Doc) abstract protected void onStartTransportProtocol() throws IOException(Code)(Java Doc) abstract protected void performKeyExchange(SshKeyExchange kex) throws IOException, KeyExchangeException(Code)(Java Doc) protected SshMessage processMessages() throws IOException(Code)(Java Doc) public SshMessage readMessage(int[] filter) throws IOException(Code)(Java Doc) abstract public void registerTransportMessages() throws MessageAlreadyRegisteredException(Code)(Java Doc) public void removeMessageStore(SshMessageStore ms)(Code)(Java Doc) public void run()(Code)(Java Doc) protected void sendDisconnect(int reason, String description)(Code)(Java Doc) protected void sendDisconnect(int reason, String description, IOException error)(Code)(Java Doc) protected void sendKeyExchangeInit() throws IOException(Code)(Java Doc) public synchronized void sendMessage(SshMessage msg, Object sender) throws IOException(Code)(Java Doc) protected void sendNewKeys() throws IOException(Code)(Java Doc) public void setKexTimeout(long seconds) throws TransportProtocolException(Code)(Java Doc) public void setKexTransferLimit(long kilobytes) throws TransportProtocolException(Code)(Java Doc) abstract protected void setLocalIdent()(Code)(Java Doc) abstract protected void setLocalKexInit(SshMsgKexInit msg)(Code)(Java Doc) abstract protected void setRemoteIdent(String ident)(Code)(Java Doc) abstract protected void setRemoteKexInit(SshMsgKexInit msg)(Code)(Java Doc) public void setSendIgnore(boolean sendIgnore)(Code)(Java Doc) abstract protected void setupNewKeys(byte[] encryptCSKey, byte[] encryptCSIV, byte[] encryptSCKey, byte[] encryptSCIV, byte[] macCSKey, byte[] macSCKey) throws AlgorithmNotAgreedException, AlgorithmOperationException, AlgorithmNotSupportedException, AlgorithmInitializationException(Code)(Java Doc) protected void startBinaryPacketProtocol() throws IOException(Code)(Java Doc) public void startTransportProtocol(TransportProvider provider, SshConnectionProperties properties) throws IOException(Code)(Java Doc) final protected void stop()(Code)(Java Doc) public void unregisterMessage(Integer messageId, SshMessageStore store) throws MessageNotRegisteredException(Code)(Java Doc)
|
|
|
|