Class: Rubcask::Server::AbstractServer
- Inherits:
-
Object
- Object
- Rubcask::Server::AbstractServer
- Includes:
- Protocol
- Defined in:
- lib/rubcask/server/abstract_server.rb
Constant Summary collapse
- BLOCK_SIZE =
Rubcask::Bytes::KILOBYTE * 64
- MAX_READ_SIZE =
BLOCK_SIZE * 128
Constants included from Protocol
Protocol::ERROR, Protocol::NIL, Protocol::OK, Protocol::PING, Protocol::PONG, Protocol::SEPARATOR
Instance Attribute Summary collapse
-
#dir ⇒ Object
readonly
Returns the value of attribute dir.
Method Summary
Methods included from Protocol
create_call_message, encode_message, error_message, nil_message, ok_message, ping_message, pong_message
Instance Attribute Details
#dir ⇒ Object (readonly)
Returns the value of attribute dir.
15 16 17 |
# File 'lib/rubcask/server/abstract_server.rb', line 15 def dir @dir end |