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

ASF GitHub Bot logged work on SSHD-1080:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Sep/20 14:30
            Start Date: 17/Sep/20 14:30
    Worklog Time Spent: 10m 
      Work Description: gnodet commented on a change in pull request #169:
URL: https://github.com/apache/mina-sshd/pull/169#discussion_r490293820



##########
File path: 
sshd-core/src/main/java/org/apache/sshd/common/channel/throttle/DefaultChannelStreamWriter.java
##########
@@ -0,0 +1,53 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.sshd.common.channel.throttle;
+
+import java.io.IOException;
+
+import org.apache.sshd.common.channel.Channel;
+import org.apache.sshd.common.io.IoWriteFuture;
+import org.apache.sshd.common.util.buffer.Buffer;
+
+public class DefaultChannelStreamWriter implements ChannelStreamWriter {

Review comment:
       No, that's fine. I haven't checked the details yet.  I do look for 
comments.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 485768)
    Time Spent: 1h  (was: 50m)

> 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
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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