mirror of
https://git.krews.org/morningstar/nitrowebsockets-for-ms
synced 2024-11-22 23:10:52 +01:00
updated dependency to MS 2.5.0
This commit is contained in:
parent
157adca762
commit
99596ca354
6
pom.xml
6
pom.xml
@ -13,8 +13,8 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>6</source>
|
<source>8</source>
|
||||||
<target>6</target>
|
<target>8</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
@ -24,7 +24,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.eu.habbo</groupId>
|
<groupId>com.eu.habbo</groupId>
|
||||||
<artifactId>Habbo</artifactId>
|
<artifactId>Habbo</artifactId>
|
||||||
<version>2.4.0</version>
|
<version>2.5.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
@ -4,6 +4,7 @@ import com.eu.habbo.messages.PacketManager;
|
|||||||
import com.eu.habbo.networking.gameserver.decoders.*;
|
import com.eu.habbo.networking.gameserver.decoders.*;
|
||||||
import com.eu.habbo.networking.gameserver.encoders.GameServerMessageEncoder;
|
import com.eu.habbo.networking.gameserver.encoders.GameServerMessageEncoder;
|
||||||
import com.eu.habbo.networking.gameserver.encoders.GameServerMessageLogger;
|
import com.eu.habbo.networking.gameserver.encoders.GameServerMessageLogger;
|
||||||
|
import com.eu.habbo.networking.gameserver.handlers.IdleTimeoutHandler;
|
||||||
import com.krews.plugin.nitro.websockets.handlers.MessageInterceptorHandler;
|
import com.krews.plugin.nitro.websockets.handlers.MessageInterceptorHandler;
|
||||||
import io.netty.channel.ChannelInitializer;
|
import io.netty.channel.ChannelInitializer;
|
||||||
import io.netty.channel.socket.SocketChannel;
|
import io.netty.channel.socket.SocketChannel;
|
||||||
@ -13,7 +14,7 @@ import io.netty.handler.timeout.IdleStateHandler;
|
|||||||
public class NetworkChannelInitializer extends ChannelInitializer<SocketChannel> {
|
public class NetworkChannelInitializer extends ChannelInitializer<SocketChannel> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void initChannel(SocketChannel ch) throws Exception {
|
public void initChannel(SocketChannel ch) {
|
||||||
ch.pipeline().addLast("logger", new LoggingHandler());
|
ch.pipeline().addLast("logger", new LoggingHandler());
|
||||||
|
|
||||||
ch.pipeline().addLast("idleStateHandler", new IdleStateHandler(60, 30, 0));
|
ch.pipeline().addLast("idleStateHandler", new IdleStateHandler(60, 30, 0));
|
||||||
|
Loading…
Reference in New Issue
Block a user