abstract class Cradare2::Transport::Base

Overview

Base abstract class for all radare2 communication transports.

Direct Known Subclasses

Defined in:

cradare2/transport/transport.cr

Instance Method Summary

Instance Method Detail

abstract def close : Nil #

Closes the transport and releases any associated resources.


[View source]
abstract def closed? : Bool #

Returns true if the transport has been closed.


[View source]
abstract def cmd(command : String) : String #

Executes a command string in radare2 and returns the response string.


[View source]
def timeout : Time::Span | Nil #

Optional timeout for command execution.


[View source]
def timeout=(timeout : Time::Span | Nil) #

Optional timeout for command execution.


[View source]