brotorift 0.3.2 → 0.3.3

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: cd942ef7af139eb706b18ff27ce54e90f6b572b52a62b10bec6818371e10af2d
4
- data.tar.gz: 0c32092fab25dcd03f0468e2b0ebb6bdfd4e45d0378a1d1c1cd1e9a6e6f9839a
3
+ metadata.gz: 76f2008eb36d00390f168dd1c80c0dc3a1477815c5d85131b15bddaa4a9561b0
4
+ data.tar.gz: 900ce3fb63ea47ad04b256edc82b20aa7ee7a0c6b4ee9908047834c86d099685
5
5
  SHA512:
6
- metadata.gz: 88f5237951e68659881faa4ea82cd1000fc394af79185348e6ccb7c7ac5ffd671f49b275224dbbde70bbd2a96ca8776406b87971998afe66448123d01a26271c
7
- data.tar.gz: 1397f0fba6994658240ed7e8d5455fb2e07ff5316bf91f3e6b7e4ab17d552890e71dc2ef11b8fcd08a6fc8f7f8250305d9bc0f3972006e91a656d8b2426006e3
6
+ metadata.gz: ce1b105247f0c2e84a775ab2eb728bcb360aefd6d6b9650a8f8139aac561970118caf8ff1b3514d6d8c3d40a5c1793e9eddb8705444af7753eaf8299432b1894
7
+ data.tar.gz: 5fa74f4f57319b36848319b4137bcdaa58bfeec3b1a734cbad85252ce5e73d499d149df57000d8e6c9f7e45864d665761fb35505f417a7d094ca90bc6e45e175
@@ -62,7 +62,7 @@ namespace <%= node.namespace %>
62
62
 
63
63
  public class <%= node_direction.connector_name %> : Client
64
64
  {
65
- public <%= node_direction.handler_name %> handler { get; private set; }
65
+ public <%= node_direction.handler_name %> handler { get; set; }
66
66
 
67
67
  public <%= node_direction.connector_name %>( <%= node_direction.handler_name %> handler )
68
68
  {
@@ -92,6 +92,11 @@ namespace <%= node.namespace %>
92
92
 
93
93
  protected override void ProcessPacket( InPacket packet )
94
94
  {
95
+ if( this.handler == null )
96
+ {
97
+ return;
98
+ }
99
+
95
100
  switch( (InMessage)packet.Header )
96
101
  {<% for m in node_direction.in_direction.messages.values %>
97
102
  case InMessage.<%= m.name %>:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brotorift
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Ren