public static class Networking.SchemeUDPSocket extends Networking.SchemeSocket
Modifier and Type | Field and Description |
---|---|
protected int |
dport |
protected int |
mode |
protected int |
packet_size |
protected java.net.InetAddress |
remoteHost |
protected java.net.DatagramSocket |
s |
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
Constructor and Description |
---|
SchemeUDPSocket(java.net.DatagramSocket s) |
SchemeUDPSocket(java.net.DatagramSocket s,
int ps) |
SchemeUDPSocket(java.net.DatagramSocket s,
int port,
int ds) |
SchemeUDPSocket(java.net.DatagramSocket s,
int port,
java.lang.String dhost) |
SchemeUDPSocket(java.net.DatagramSocket s,
java.lang.String dhost) |
SchemeUDPSocket(java.net.DatagramSocket s,
java.lang.String dhost,
int ds) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
display(ValueWriter w) |
SchemeBinaryInputPort |
getBinaryInputPort(Interpreter r) |
SchemeBinaryOutputPort |
getBinaryOutputPort(Interpreter r,
boolean autoflush) |
SchemeCharacterOutputPort |
getCharacterOutputPort(Interpreter r,
Charset encoding,
boolean autoflush) |
SchemeCharacterInputPort |
getInputPort(Interpreter r,
Charset encoding) |
protected void |
setMode(int m) |
apply, displayNamedOpaque, equals, eqv, eval, express, getValue, synopsis, synopsis, toString, valueEqual, valueHashCode, write, writeReplace
deserialize, deserializeAnnotations, getAnnotation, getAnnotation, getAnnotationKeys, getAnnotations, getName, readExternal, readResolve, serialize, 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
protected int mode
protected java.net.DatagramSocket s
protected int packet_size
protected java.net.InetAddress remoteHost
protected int dport
public SchemeUDPSocket(java.net.DatagramSocket s)
public SchemeUDPSocket(java.net.DatagramSocket s, java.lang.String dhost) throws java.io.IOException
java.io.IOException
public SchemeUDPSocket(java.net.DatagramSocket s, int ps)
public SchemeUDPSocket(java.net.DatagramSocket s, int port, int ds)
public SchemeUDPSocket(java.net.DatagramSocket s, java.lang.String dhost, int ds) throws java.io.IOException
java.io.IOException
public SchemeUDPSocket(java.net.DatagramSocket s, int port, java.lang.String dhost) throws java.io.IOException
java.io.IOException
protected void setMode(int m)
public void display(ValueWriter w) throws java.io.IOException
public void close() throws java.io.IOException
close
in class Networking.SchemeSocket
java.io.IOException
public SchemeBinaryInputPort getBinaryInputPort(Interpreter r) throws java.io.IOException, ContinuationException
java.io.IOException
ContinuationException
public SchemeBinaryOutputPort getBinaryOutputPort(Interpreter r, boolean autoflush) throws java.io.IOException, ContinuationException
java.io.IOException
ContinuationException
public SchemeCharacterInputPort getInputPort(Interpreter r, Charset encoding) throws java.io.IOException, ContinuationException
java.io.IOException
ContinuationException
public SchemeCharacterOutputPort getCharacterOutputPort(Interpreter r, Charset encoding, boolean autoflush) throws java.io.IOException, ContinuationException
java.io.IOException
ContinuationException