[HOME] [github] [twitter] [blog] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .

IO::Adapter Methods

Official methods IO::Adapter provides currently follow:

new()
open()
close()

get_next_key()

add(KEY)
delete(KEY)

getpos()
setpos(NUM)
eof()

touch()

find(REGEXP, $args)

KEY is a primary key to handle database access. In almost cases, the primary key is a mail address. REGEXP is a regular expression (regexp), this is usually also a mail address.

Unification of all types of IO needs that we should implement least methods.

The currently implemented methods are selected by test and our operations. If could, we refer SQL IO more than file IO as an abstraction base model of IO::Adapter. It introduces difference between fml4 and fml8 but it is mandatory for further abstraction.

[HOME] [github] [twitter] [blog] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .
Copyright (C) 1993-2022 Ken'ichi Fukamachi mail:< fukachan at fml.org >