Commit graph

103 commits

Author SHA1 Message Date
Steven Smith
5f73b5a7ae
Merge pull request #21 from ipbeegle/master
Update PacketProtocol, StreamNetInput, pom to 1.8
2020-05-25 02:34:25 -07:00
ipbeegle
ff20c8f2a5 Change StreamNetInput, StreamNetOutput
convert to using Java filter streams
update syntax
2020-05-25 05:21:10 -04:00
ipbeegle
68542b8e58 Update PacketProtocol
remove negative packet id checks from createIncomingPacket and getOutgoingClass
update syntax
2020-05-25 05:13:13 -04:00
ipbeegle
f2adf41dd2 Add reset method to StreamNetInput 2020-05-25 02:42:11 -04:00
ipbeegle
3c5b1f4792 Merge branch 'master' of https://github.com/Steveice10/PacketLib.git 2020-05-25 02:16:26 -04:00
ipbeegle
3072587bc7 Update StreamNetInput
Add mark, markSupported, skip
2020-05-25 02:03:44 -04:00
ipbeegle
e3208ef4e8 Update pom to target Java 1.8
Fixes Maven warning about dnsjava using 1.8
2020-05-25 01:55:28 -04:00
ipbeegle
c1f371725a Update PacketProtocol
Add reverse mapping for outgoing packet id<->class
2020-05-25 01:48:32 -04:00
Steveice10
614d56cdc0 Add PacketErrorEvent, allowing packet I/O exceptions to be ignored. 2020-05-23 14:52:18 -07:00
Steven Smith
dbefdf50b4
Merge pull request #20 from ipbeegle/add-bufferedpacket
Add BufferedPacket
2020-05-21 11:30:08 -07:00
ipbeegle
74ee4fa02b Small optimization to PacketProtocol.getOutgoingId(Class<? extends Packet>) 2020-05-20 23:37:46 -04:00
ipbeegle
27cdf88b36 Add BufferedPacket
Add PacketProtocol.getOutgoingId(Packet) to get id from BufferedPacket
Change TcpPacketCodec.encode to use Packet instance instead of its class
2020-05-20 23:33:27 -04:00
Steveice10
43b394dfdc Check if DNS lookup result is null. 2020-04-21 12:08:50 -07:00
Steveice10
b98e525016 Change SRV lookup code to use dnsjava. 2020-04-21 12:01:26 -07:00
Steveice10
29f960a24c Bump version to 1.6-SNAPSHOT 2020-04-20 14:55:30 -07:00
Steveice10
b23b6f8b4e Bump version to 1.5 2020-04-20 14:55:01 -07:00
Steveice10
d725ce0d79 Implement proper NIO proxy support and remove synchronous support from
send/disconnect.
2020-02-26 18:15:59 -08:00
Steveice10
d05bdadbbf Bump version to 1.5-SNAPSHOT 2019-10-20 20:22:01 -07:00
Steveice10
a5712ac9b0 Bump version to 1.4 2019-10-20 20:20:46 -07:00
Steveice10
c0fae1d4d5 Update netty version. 2019-10-20 20:20:01 -07:00
Steveice10
32247f3098 Remove dot from end of host in SRV records. 2019-10-20 20:18:58 -07:00
Steven Smith
1431dfcaea
Add CI action. 2019-08-27 23:53:41 -07:00
Steveice10
1d5a0ad81b Use Cipher mode constants. 2018-09-06 10:27:21 -07:00
Steveice10
988d411d96 Fix documentation mistake. 2018-08-29 19:24:08 -07:00
Steveice10
2e53f6ba1f Update surefire plugin to 2.22.0 2018-08-20 12:22:08 -07:00
Steveice10
9ec1cc121d Fix typo and link to example in README.md 2018-07-04 13:37:09 -07:00
Steveice10
3e07b2ebf3 Add argLine to properties. 2018-07-02 15:23:35 -07:00
Steveice10
26b127a4cd Bump version to 1.4-SNAPSHOT 2018-06-03 10:46:04 -07:00
Steveice10
d6ed28cbd0 Bump version to 1.3 2018-06-03 10:45:28 -07:00
Steveice10
d81fdd0632 Update netty version. 2018-06-03 10:44:59 -07:00
Steven Smith
ad0a450dc0 Bump version for development. 2018-02-06 14:26:53 -08:00
Steven Smith
586157506d Bump version for release 1.2 2018-02-06 14:25:56 -08:00
Steven Smith
2daecb5f83
Merge pull request #18 from sgdc3/master
Minor pom enhancements, update netty
2018-02-01 12:57:03 -08:00
sgdc3
bc07f0f136 Bump netty version 2018-02-01 19:14:51 +01:00
sgdc3
a100a4fbbf Pom enhancements 2018-02-01 19:13:37 +01:00
Steven Smith
880393f92a Clean up pom.xml 2018-01-31 22:49:08 -08:00
Steveice10
0d32cd5ddd Bump version for development. 2018-01-14 11:38:28 -08:00
Steveice10
73cd1fdb38 Bump version to 1.1 for release. 2018-01-14 11:37:52 -08:00
Steveice10
ca0dec4a2d Format code. 2017-09-01 12:55:00 -07:00
Steven Smith
c5880f0627 Add packetSending stub to SessionAdapter. 2017-06-27 13:12:02 -07:00
Steveice10
e8a86dafcb Fire event before a packet is sent, allowing the operation to be modified or cancelled. 2017-06-26 15:58:08 -07:00
Steveice10
a17d4769e8 Update license year. 2017-03-02 00:01:58 -08:00
Steveice10
bdefaa60c3 Bump version for development. 2017-03-01 16:14:22 -08:00
Steveice10
4608261e99 Migrate away from spacehq.org 2017-03-01 16:09:48 -08:00
Steveice10
f51fda303a Fix pom.xml indentation. 2017-01-25 15:17:21 -08:00
Steven Smith
4421890fa1 Merge pull request #16 from jkrossouw/port-netty4
Ported library to Netty 4.1.4, fixed a bug in Server.java and general code cleanup.
2017-01-25 15:15:37 -08:00
Kevin Rossouw
cc4d9869bb Ported library to Netty 4.1.4 (Netty 5 has been discontinued) by modifying TcpSession.java and pom.xml. Fixed a bug in Server.java where isListening() would throw a NullPointerException if called before bind(). Removed unused imports of java.net.InetAddress in Session.java and TcpSession.java. Updated Maven plugin versions in pom.xml. 2017-01-25 16:47:00 +02:00
Steveice10
b5bfe24517 Expose local and remote addresses of Sessions. 2016-12-15 17:05:24 -08:00
Steveice10
f846b96ab4 Generate source and javadoc jars. 2016-12-15 16:57:22 -08:00
Steven Smith
260a778563 Merge pull request #14 from phase/master
Set Java version to 1.7 in POM
2016-08-23 20:00:01 -07:00