CHUnked Message Protocol

CHUMP is a minimal message passing protocol.

License

License

GroupId

GroupId

com.creeaaakk
ArtifactId

ArtifactId

chump
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

CHUnked Message Protocol
CHUMP is a minimal message passing protocol.
Project URL

Project URL

https://github.com/Wopple/chump-java
Source Code Management

Source Code Management

https://github.com/Wopple/chump-java.git

Download chump

How to add to project

<!-- https://jarcasting.com/artifacts/com.creeaaakk/chump/ -->
<dependency>
    <groupId>com.creeaaakk</groupId>
    <artifactId>chump</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.creeaaakk/chump/
implementation 'com.creeaaakk:chump:0.0.1'
// https://jarcasting.com/artifacts/com.creeaaakk/chump/
implementation ("com.creeaaakk:chump:0.0.1")
'com.creeaaakk:chump:jar:0.0.1'
<dependency org="com.creeaaakk" name="chump" rev="0.0.1">
  <artifact name="chump" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.creeaaakk', module='chump', version='0.0.1')
)
libraryDependencies += "com.creeaaakk" % "chump" % "0.0.1"
[com.creeaaakk/chump "0.0.1"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

CHUMP

CHUMP is the CHUnked Message Protocol. It is a minimal message passing protocol.

Protocol


version 0

int16 -- version of the protocol (0x00 0x00)
int16 -- type of the message (user defined)
int16 -- tag (user defined, can be used to track responses)
uint16 -- number of bytes in the payload
byte[] -- the payload (arbitrary length array of bytes, may be empty)

Maven


<project>
  <dependencies>
    <dependency>
      <groupId>com.creeaaakk</groupId>
      <artifactId>chump</artifactId>
      <version>x.x.x</version>
    </dependency>
  </dependencies>
</project>

Versions:

  • 0.0.1 (current)

Implementations


CHUMP is designed to be a language independent protocol.

  1. Java (https://github.com/Wopple/chump-java)
  2. Objective-C (https://github.com/Wopple/chump-objc)

Origin


I started this project while developing an Android app with a friend. We were originally using HTTP which was far too heavy considering the small size and simplistic nature of our client server messages. CHUMP provided us with a protocol that is very lightweight in library size, data overhead, and speed while still being sufficient for our needs. CHUMP may be useful to you for another purpose.

Versions

Version
0.0.1