tcp-server 1.0.9-java → 1.0.12-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c707938b3d92a5bd20d128d6f09bfcbbc50ff56f0d4c34006c40b27815b299c3
4
- data.tar.gz: 01bb7897ee596c304ff32bf6dbb2ac5b380bc9f45cad86d0f39479515a4f07b5
3
+ metadata.gz: 670f9e3c8b79da3a1479990814950e144ad3a198a4f5225ecbbd22c2df490a6d
4
+ data.tar.gz: 6dd98be9542a0120e7fdb1f85f2b0965dce8cd2599bfa04059e9e9b8c3a20f99
5
5
  SHA512:
6
- metadata.gz: 8cff7fdc5fbae7e1e7521bda5cd6b335a3c7f7822e1362b5a284d62a5a81b71f466dd52519c2c6f12389eb425fa262fc066ec0b756bf502391ae04841b581e37
7
- data.tar.gz: bc42f07bfe23e91f9626de066f233ace69987e624950ed81d7724ee2ec8e5095d2475446f58a7a5b8d35c123b9201c98abf5a7a8d11fb6cb01636313c0584532
6
+ metadata.gz: cc3a5219e0b6b39a4977c389a857b977c7a1daae20348d07b0602b323576f088f697593bcbc54a39504e0f59f558d617c10c87eb4628c7c723963fe6ebd1c758
7
+ data.tar.gz: ed6bbe76a0993e5b71d709180752eb235ae41d7bac2e5ed45edd5ba07043cf75dfe3f306dc255d76dedf64ad1c5b21ff724664044175292a1be2b3f045a96c2c
data/lib/client.rb CHANGED
@@ -284,7 +284,7 @@ module Client
284
284
  end
285
285
 
286
286
  def channelActive(ctx)
287
- ::Client.log.info "Channel active #{ctx.channel}"
287
+ ::Client.log.debug "Channel active #{ctx.channel}"
288
288
  notify :channel_active, ctx
289
289
  super(ctx)
290
290
  end
@@ -62,12 +62,12 @@ module Server
62
62
  @default_handler ||= ::Server::ModularHandler.new(@channel_group)
63
63
  end
64
64
 
65
- def add_listener(*listeners)
66
- default_handler.add_listener(*listeners)
65
+ def add_listener(*listener)
66
+ default_handler.add_listener(*listener)
67
67
  end
68
68
 
69
- def replace_listeners(*listeners)
70
- default_handler.replace_listener(*listeners)
69
+ def replace_listeners(*listener)
70
+ default_handler.replace_listeners(*listener)
71
71
  end
72
72
 
73
73
  protected
@@ -96,12 +96,12 @@ module Server
96
96
  channel_initializer << handler
97
97
  end
98
98
 
99
- def add_listener(*listeners)
100
- channel_initializer.add_listener(*listeners)
99
+ def add_listener(*listener)
100
+ channel_initializer.add_listener(*listener)
101
101
  end
102
102
 
103
- def replace_listeners(*listeners)
104
- channel_initializer.replace_listener(*listeners)
103
+ def replace_listeners(*listener)
104
+ channel_initializer.replace_listeners(*listener)
105
105
  end
106
106
  end
107
107
  # module ServerInstanceMethods
@@ -45,7 +45,7 @@ module Server
45
45
  end
46
46
 
47
47
  def channelActive(ctx)
48
- log.info "##{__method__} channel: #{ctx.channel}"
48
+ ::Server.log.debug "##{__method__} channel: #{ctx.channel}"
49
49
  @channel_group.add(ctx.channel)
50
50
  notify :channel_active, ctx
51
51
  super(ctx)
@@ -12,5 +12,5 @@
12
12
 
13
13
  # The Server module
14
14
  module Server
15
- VERSION = '1.0.9'.freeze
15
+ VERSION = '1.0.12'.freeze
16
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tcp-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.12
5
5
  platform: java
6
6
  authors:
7
7
  - Nels Nelson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-23 00:00:00.000000000 Z
11
+ date: 2022-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement