• Stars
    star
    167
  • Rank 226,635 (Top 5 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created almost 11 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Netty Client for Android

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.