class Action

Overview


Generic implementation of an action that can be performed. The TCP_LISTENER sends data that it recieves via the socker directly here. The Action can perform logic on that data.


Defined in:

tcp_engine/action.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def process(socket : Socket, data : String) #

For example purposes, just output data


[View source]