simpleframework icon indicating copy to clipboard operation
simpleframework copied to clipboard

http.core.ContainerServer and transport.Server are missing

Open damianoporta opened this issue 10 years ago • 4 comments

Hello, I am following the tutorial http://www.simpleframework.org/doc/tutorial/tutorial.php but i have a problem during the import of:

import org.simpleframework.http.core.ContainerServer;
import org.simpleframework.transport.Server;

The Classes are missing. Any workaround?

Thanks

damianoporta avatar Aug 21 '15 09:08 damianoporta

They have been refactored and are not called SocketProcessor and ContainerSocketProcessor

 On Friday, 21 August 2015, 10:16, Damiano Porta <[email protected]> wrote:

Hello, I am following the tutorial http://www.simpleframework.org/doc/tutorial/tutorial.php but i have a problem during the import of:import org.simpleframework.http.core.ContainerServer; import org.simpleframework.transport.Server; The Classes are missing. Any workaround?Thanks— Reply to this email directly or view it on GitHub.

ngallagher avatar Aug 21 '15 09:08 ngallagher

@ngallagher perfect, so we have to update the tutorial... thank you so much!

damianoporta avatar Aug 21 '15 09:08 damianoporta

@ngallagher The tutorial still says about using org.simpleframework.http.core.ContainerServer; but that is not available. Can you please point me to some documents about how to use the refactored code..

sudipm-mukherjee avatar Feb 21 '20 21:02 sudipm-mukherjee

tl;dr:

http://www.simpleframework.org/doc/tutorial/tutorial.php should be updated with:

ContainerServer -> ContainerSocketProcessor Server -> SocketProcessor


@sudipm-mukherjee judging by https://github.com/ngallagher/simpleframework/commit/d06ffe2e84fdeb1a5509702b69d5ebbe8a2f4c7c

which ahem "Make interfaces more sensible", it looks like:

ContainerServer -> ContainerSocketConnector Server -> SocketConnector

and then in https://github.com/ngallagher/simpleframework/commit/0dd45a32b2b83afc58122627702739149f919e31 for "clarity"

ContainerSocketConnector -> ContainerSocketProcessor SocketConnector -> SocketProcessor

Art-B avatar Apr 30 '21 17:04 Art-B