Netty client library for Android
Introduction
This library is based on Netty(http://netty.io/) Project v3.8.
There are too many unusable APIs in the Original project, because Android is not a Java SE environment. If you are developing an TCP client, or if the server uses the Netty library, try to use this library.
This library is much smaller than original library (About 279 KB, after Proguard optimization, it will be reduced to about 50~100 KB).
์ด ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ Netty(http://netty.io/) ํ๋ก์ ํธ v3.8์ Android ์ฉ์ผ๋ก ๊ฒฝ๋ํํ ๋ฒ์ ์
๋๋ค.
๋ณ๋์ ์์ค์ฝ๋ ์ถ๊ฐ์์ด Netty ๋ด๋ถ์ ์ฝ๋์์ Android์ ๋ถํ์ํ ๋ด์ฉ์ ์ญ์ ํ๊ณ ์ ๋ฆฌํ์ต๋๋ค.
Copyright ๋ฐ License๋ Netty ํ๋ก์ ํธ์ ๋์ผํฉ๋๋ค.
Android Framework์ Java SE ๊ธฐ๋ฐ์ด ์๋๊ธฐ ๋๋ฌธ์ SE ๊ธฐ๋ฐ์ผ๋ก ์์ฑ๋ Netty java ๋ผ์ด๋ธ๋ฌ๋ฆฌ์์ ์ฌ์ฉํ์ง ๋ชปํ๋ API๊ฐ ๋ง์ต๋๋ค.
์ด๋ฐ ์ฝ๋๋ค์ ์ ๊ฑฐํ๊ณ ์ฉ๋์ ๋ฏผ๊ฐํ Android ๊ฐ๋ฐ ํน์ฑ์ ๋ง์กฑ์์ผฐ์ต๋๋ค.
ํนํ TCP ํต์ ๊ธฐ๋ฐ์ ํด๋ผ์ด์ธํธ ๊ฐ๋ฐ์ ํ์ ๋ค๋ฉด ์ฌ์ฉํด ๋ณด์ญ์์ค.
Jar ํ์ผ ์ฉ๋ ๊ธฐ์ค 279 KB ์ ๋๋ก ๊ธฐ์กด 1.2 MB์ ๋นํด 1/3 ๋ ์๋๋ ํฌ๊ธฐ ์ด๋ฉฐ Proguard ์ ์ฉ์ 50 ~ 100 KB ๋ฏธ๋ง์ผ๋ก ์ค์ผ ์ ์์ต๋๋ค.
Quick Start
Netty for Android Library is pushed to Maven Central as an AAR. Therefore, the easiest way to add this to your project is via Gradle, you just need to add the following dependency to your build.gradle:
dependencies {
mavenCentral()
compile 'com.hovans.netty:library:+'
}
This means that you will always use the latest version available.
Sample project needs Codelab library(https://github.com/urunimi/CodelabLibrary).
Therefore, if you don't use gradle build, download the library project.
License
Copyright 2012 The Netty Project
The Netty Project 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.