public class SerialIO extends IndexedProcedure
Modifier and Type | Class and Description |
---|---|
static class |
SerialIO.Index |
Modifier and Type | Field and Description |
---|---|
protected static Symbol |
BINARYB |
protected static int |
DESERIALIZE |
protected static int |
OPENSERIALINPUTFILE |
protected static int |
OPENSERIALOUTPUTFILE |
protected static int |
SERIALINPORTQ |
protected static int |
SERIALIZE |
protected static int |
SERIALOUTPORTQ |
id
annotations, EMPTYSET
BACKQUOTE, BEGIN, bundles, caseSensitive, EMPTYLIST, EMPTYVEC, EOF, ERRORK, EVAL, EXPSC, EXPTOP, FALSE, FCONT, FIVE, JEXCEPTION, LAMBDA, LOCATION, maxFloatPrecision, MESSAGE, minFloatPrecision, NAME, OTHER, PARENT, permitInterrupts, QUOTE, QUOTESYM, REPORT, SETBANG, SISC, SISC_SPECIFIC, SISCB, SOURCE_COLUMN, SOURCE_FILE, SOURCE_LINE, SYMENV, THIS, TOPLEVEL, TRUE, UNQUOTE, UNQUOTE_SPLICING, VOID, ZV
Modifier and Type | Method and Description |
---|---|
Value |
doApply(Interpreter f)
A NativeProcedure instance must implement this method, which
performs the actual processing specific to that procedure, and
returns a Value.
|
static Value |
readSer(Interpreter r,
SerialInputStream p) |
static SerialInputStream |
sinport(Value o) |
static SerialOutputStream |
soutport(Value o) |
static Value |
writeSer(Interpreter r,
SerialOutputStream p,
Value v) |
deserialize, serialize
apply, display
error, throwArgSizeException, throwNestedPrimException, throwNestedPrimException, throwPrimException
displayNamedOpaque, equals, eqv, eval, express, getValue, synopsis, synopsis, toString, valueEqual, valueHashCode, write, writeReplace
deserializeAnnotations, getAnnotation, getAnnotation, getAnnotationKeys, getAnnotations, getName, readExternal, readResolve, serializeAnnotations, setAnnotation, setAnnotation, setName, visit, visitAnnotations, writeExternal
annotated, annotatedAppEval, append, argCheck, argsToSymbols, assq, bininport, bininstream, binoutport, binoutstream, box, character, charinport, charinreader, charoutport, charoutwriter, charsetFromString, chr, cont, currentClassLoader, env, error, error, error, error, error, error, error, expr, getDefaultCharacterSet, immutablePair, immutableVector, inport, javaExceptionToString, javaWrap, justify, length, liMessage, liMessage, liMessage, liMessage, liMessage, liMessage, liMessage, list, list, list, list, list, makeURL, mapcar, memq, nlib, num, outport, pair, pairToExpressions, pairToExpVect, pairToValues, proc, read, registerBundle, reverse, reverseInPlace, simpleErrorToString, sourceAnnotations, str, string, sym, symbol, symval, truePair, truth, truth, typeError, typeError, updateName, url, url, url, valArrayToList, valArrayToList, valArrayToVec, vec, warn, warn, warn
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
protected static Symbol BINARYB
protected static final int DESERIALIZE
protected static final int SERIALIZE
protected static final int OPENSERIALINPUTFILE
protected static final int OPENSERIALOUTPUTFILE
protected static final int SERIALINPORTQ
protected static final int SERIALOUTPORTQ
public static final SerialOutputStream soutport(Value o)
public static final SerialInputStream sinport(Value o)
public static Value readSer(Interpreter r, SerialInputStream p) throws ContinuationException
ContinuationException
public static Value writeSer(Interpreter r, SerialOutputStream p, Value v) throws ContinuationException
ContinuationException
public Value doApply(Interpreter f) throws ContinuationException
NativeProcedure
doApply
in class NativeProcedure
ContinuationException