-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ServerInterconnect is a lightweight java library to handle various types of networking structures. Don't worry about the packet I/O and worry more about the more important details of your project!
The following XML is for you to add to your pom.xml, it is needed for Maven to find the dependency.
<repositories>
...
<!-- repository for NJay dependencies -->
<repository>
<id>njay-repo</id>
<url>http://repo.njay.net/content/groups/public</url>
</repository>
...
</repositories>
Now that Maven can get any depedency from Njay, you must add menu-framework do your dependencies list.
Please check that the <version>1.0.9</version> is at the latest version of Njay to ensure you have all the latest bug fixes and features.
<dependencies>
...
<dependency>
<groupId>net.njay</groupId>
<artifactId>ServerInterconnect</artifactId>
<version>x.x.x</version> <!-- Replace with desired version -->
</dependency>
...
</dependencies>
If you're using an IDE, you may need to reimport your Maven dependencies in order for your IDE to detect the changes in your pom.xml.
You must call this method before any packet IO can begin:
ServerInterconnect.registerCorePackets();Basic IO
Basic Client
Basic Server
Authenticated IO
Authenticated Client
Authenticated Server
Mesh
Mesh Network
Authenticated Mesh
Packets
Creating Packets
Sending Packets
Listening for Packets
Automatic Handlers
Response Handlers
UPnP
Port Forwarding