Method: APND::Daemon::Protocol#post_init

Defined in:
lib/apnd/daemon/protocol.rb

#post_initObject

Called when a client connection is opened



12
13
14
15
# File 'lib/apnd/daemon/protocol.rb', line 12

def post_init
  @address = ::Socket.unpack_sockaddr_in(self.get_peername)
  APND.logger "#{@address.last}:#{@address.first} opened connection"
end