[ 
https://issues.apache.org/jira/browse/SSHD-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197656#comment-17197656
 ] 

Guillaume Nodet commented on SSHD-1080:
---------------------------------------

Sorry, the {{PacketWriter}} is for the data channels, the {{Channel}} itself 
needs to keep a {{writePacket}} method which basically calls the 
{{Session.writePacket}}.

> Revisit the PacketWriter interface
> ----------------------------------
>
>                 Key: SSHD-1080
>                 URL: https://issues.apache.org/jira/browse/SSHD-1080
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Priority: Major
>
> The expectations when using {{Session.writePacket}}, {{Channel.writePacket}} 
> and {{IoOutputStream.writePacket}} are different, so I don't think it's a 
> good idea to use a single interface for those.
> The only real place where it's used is in the {{ThrottlingPacketWriter}} 
> which would need to be reworked.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to