diff --git a/src/ecpool.erl b/src/ecpool.erl index d1627a4f6..006bcf355 100644 --- a/src/ecpool.erl +++ b/src/ecpool.erl @@ -1,16 +1,17 @@ -%%%----------------------------------------------------------------------------- -%% Copyright (c) 2015-2016 Feng Lee . -%%% +%%% The MIT License (MIT) +%%% +%%% Copyright (c) 2018 EMQ X +%%% %%% Permission is hereby granted, free of charge, to any person obtaining a copy %%% of this software and associated documentation files (the "Software"), to deal %%% in the Software without restriction, including without limitation the rights %%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell %%% copies of the Software, and to permit persons to whom the Software is %%% furnished to do so, subject to the following conditions: -%%% +%%% %%% The above copyright notice and this permission notice shall be included in all %%% copies or substantial portions of the Software. -%%% +%%% %%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR %%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, %%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -18,11 +19,9 @@ %%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, %%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE %%% SOFTWARE. -%%%----------------------------------------------------------------------------- -%%% @doc ecpool Main API. %%% -%%% @author Feng Lee -%%%----------------------------------------------------------------------------- +%%% +%%% @author Feng Lee -module(ecpool). diff --git a/src/ecpool_app.erl b/src/ecpool_app.erl index cd091ba00..9770ac657 100644 --- a/src/ecpool_app.erl +++ b/src/ecpool_app.erl @@ -1,16 +1,17 @@ -%%%----------------------------------------------------------------------------- -%% Copyright (c) 2015-2016 Feng Lee . -%%% +%%% The MIT License (MIT) +%%% +%%% Copyright (c) 2018 EMQ X +%%% %%% Permission is hereby granted, free of charge, to any person obtaining a copy %%% of this software and associated documentation files (the "Software"), to deal %%% in the Software without restriction, including without limitation the rights %%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell %%% copies of the Software, and to permit persons to whom the Software is %%% furnished to do so, subject to the following conditions: -%%% +%%% %%% The above copyright notice and this permission notice shall be included in all %%% copies or substantial portions of the Software. -%%% +%%% %%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR %%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, %%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -18,11 +19,9 @@ %%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, %%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE %%% SOFTWARE. -%%%----------------------------------------------------------------------------- -%%% @doc Erlang Connection/Client Pool Application. %%% -%%% @author Feng Lee -%%%----------------------------------------------------------------------------- +%%% +%%% @author Feng Lee -module(ecpool_app). diff --git a/src/ecpool_pool.erl b/src/ecpool_pool.erl index 93faee087..0dc62d120 100644 --- a/src/ecpool_pool.erl +++ b/src/ecpool_pool.erl @@ -1,16 +1,17 @@ -%%%----------------------------------------------------------------------------- -%% Copyright (c) 2015-2016 Feng Lee . -%%% +%%% The MIT License (MIT) +%%% +%%% Copyright (c) 2018 EMQ X +%%% %%% Permission is hereby granted, free of charge, to any person obtaining a copy %%% of this software and associated documentation files (the "Software"), to deal %%% in the Software without restriction, including without limitation the rights %%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell %%% copies of the Software, and to permit persons to whom the Software is %%% furnished to do so, subject to the following conditions: -%%% +%%% %%% The above copyright notice and this permission notice shall be included in all %%% copies or substantial portions of the Software. -%%% +%%% %%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR %%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, %%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -18,11 +19,9 @@ %%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, %%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE %%% SOFTWARE. -%%%----------------------------------------------------------------------------- -%%% @doc Wrap gproc_pool. %%% -%%% @author Feng Lee -%%%----------------------------------------------------------------------------- +%%% +%%% @author Feng Lee -module(ecpool_pool). diff --git a/src/ecpool_pool_sup.erl b/src/ecpool_pool_sup.erl index 69c96696a..ec5c77ec6 100644 --- a/src/ecpool_pool_sup.erl +++ b/src/ecpool_pool_sup.erl @@ -1,16 +1,17 @@ -%%%----------------------------------------------------------------------------- -%%% Copyright (c) 2015-2016 Feng Lee . -%%% +%%% The MIT License (MIT) +%%% +%%% Copyright (c) 2018 EMQ X +%%% %%% Permission is hereby granted, free of charge, to any person obtaining a copy %%% of this software and associated documentation files (the "Software"), to deal %%% in the Software without restriction, including without limitation the rights %%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell %%% copies of the Software, and to permit persons to whom the Software is %%% furnished to do so, subject to the following conditions: -%%% +%%% %%% The above copyright notice and this permission notice shall be included in all %%% copies or substantial portions of the Software. -%%% +%%% %%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR %%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, %%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -18,11 +19,9 @@ %%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, %%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE %%% SOFTWARE. -%%%----------------------------------------------------------------------------- -%%% @doc ecpool pool supervisor. %%% -%%% @author Feng Lee -%%%----------------------------------------------------------------------------- +%%% +%%% @author Feng Lee -module(ecpool_pool_sup). diff --git a/src/ecpool_sup.erl b/src/ecpool_sup.erl index 1b3f15802..1758247d7 100644 --- a/src/ecpool_sup.erl +++ b/src/ecpool_sup.erl @@ -1,16 +1,17 @@ -%%%----------------------------------------------------------------------------- -%% Copyright (c) 2015-2016 Feng Lee . -%%% +%%% The MIT License (MIT) +%%% +%%% Copyright (c) 2018 EMQ X +%%% %%% Permission is hereby granted, free of charge, to any person obtaining a copy %%% of this software and associated documentation files (the "Software"), to deal %%% in the Software without restriction, including without limitation the rights %%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell %%% copies of the Software, and to permit persons to whom the Software is %%% furnished to do so, subject to the following conditions: -%%% +%%% %%% The above copyright notice and this permission notice shall be included in all %%% copies or substantial portions of the Software. -%%% +%%% %%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR %%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, %%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -18,11 +19,9 @@ %%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, %%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE %%% SOFTWARE. -%%%----------------------------------------------------------------------------- -%%% @doc ecpool supervisor. %%% -%%% @author Feng Lee -%%%----------------------------------------------------------------------------- +%%% +%%% @author Feng Lee -module(ecpool_sup). diff --git a/src/ecpool_worker.erl b/src/ecpool_worker.erl index c1b36d78c..5ab2e7788 100644 --- a/src/ecpool_worker.erl +++ b/src/ecpool_worker.erl @@ -1,16 +1,17 @@ -%%%----------------------------------------------------------------------------- -%%% Copyright (c) 2015-2016 Feng Lee . -%%% +%%% The MIT License (MIT) +%%% +%%% Copyright (c) 2018 EMQ X +%%% %%% Permission is hereby granted, free of charge, to any person obtaining a copy %%% of this software and associated documentation files (the "Software"), to deal %%% in the Software without restriction, including without limitation the rights %%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell %%% copies of the Software, and to permit persons to whom the Software is %%% furnished to do so, subject to the following conditions: -%%% +%%% %%% The above copyright notice and this permission notice shall be included in all %%% copies or substantial portions of the Software. -%%% +%%% %%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR %%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, %%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -18,11 +19,9 @@ %%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, %%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE %%% SOFTWARE. -%%%----------------------------------------------------------------------------- -%%% @doc ecpool worker. %%% -%%% @author Feng Lee -%%%----------------------------------------------------------------------------- +%%% +%%% @author Feng Lee -module(ecpool_worker). diff --git a/src/ecpool_worker_sup.erl b/src/ecpool_worker_sup.erl index d58fede8d..f1b63055a 100644 --- a/src/ecpool_worker_sup.erl +++ b/src/ecpool_worker_sup.erl @@ -1,16 +1,17 @@ -%%%----------------------------------------------------------------------------- -%%% Copyright (c) 2015-2016 Feng Lee . -%%% +%%% The MIT License (MIT) +%%% +%%% Copyright (c) 2018 EMQ X +%%% %%% Permission is hereby granted, free of charge, to any person obtaining a copy %%% of this software and associated documentation files (the "Software"), to deal %%% in the Software without restriction, including without limitation the rights %%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell %%% copies of the Software, and to permit persons to whom the Software is %%% furnished to do so, subject to the following conditions: -%%% +%%% %%% The above copyright notice and this permission notice shall be included in all %%% copies or substantial portions of the Software. -%%% +%%% %%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR %%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, %%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -18,11 +19,9 @@ %%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, %%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE %%% SOFTWARE. -%%%----------------------------------------------------------------------------- -%%% @doc ecpool worker supervisor. %%% -%%% @author Feng Lee -%%%----------------------------------------------------------------------------- +%%% +%%% @author Feng Lee -module(ecpool_worker_sup). diff --git a/test/ecpool_test.erl b/test/ecpool_test.erl index 4c3c0f73b..c0cdd95f3 100644 --- a/test/ecpool_test.erl +++ b/test/ecpool_test.erl @@ -1,15 +1,17 @@ -%%% Copyright (c) 2015 eMQTT.IO, All Rights Reserved. -%%% +%%% The MIT License (MIT) +%%% +%%% Copyright (c) 2018 EMQ X +%%% %%% Permission is hereby granted, free of charge, to any person obtaining a copy %%% of this software and associated documentation files (the "Software"), to deal %%% in the Software without restriction, including without limitation the rights %%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell %%% copies of the Software, and to permit persons to whom the Software is %%% furnished to do so, subject to the following conditions: -%%% +%%% %%% The above copyright notice and this permission notice shall be included in all %%% copies or substantial portions of the Software. -%%% +%%% %%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR %%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, %%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -17,9 +19,9 @@ %%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, %%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE %%% SOFTWARE. -%%% -%%% @author Feng Lee %%% +%%% +%%% @author Feng Lee -module(ecpool_test).