Package scorej.external.socket

This package contains an implementation of the CommProtocol that is based on raw BSD style sockets.

See:
          Description

Class Summary
CapConnection This class is the Runnable object that reads/writes a socket.
FIPAScoreJParser An implementation of the ObjStreamParser that sends FIPASignal objects back and forth.
LijosScoreJParser A parser class for converting signals arriving from a Lisp node into a Signal object.
LocalNode The LocalNode class for the socket protocol is used to store comm protocol information about the local node.
SerializationParser A utility class for readinga nd writing objects from a com.bbn.ncu.objstream.Objstream.
SignalServer This is the Cap Socket implementation of the CommProtocol.
StringifyParser An implementation of the ObjStreamParser that sends Signal objects back and forth as UTF Strings.
 

Package scorej.external.socket Description

This package contains an implementation of the CommProtocol that is based on raw BSD style sockets. SignalServer is the socket based implementation of the CommProtocol abstract class while CapConnection, which represents a socket based ScoreJ Node is the socket based implementation of the Node interface. Two ScoreJ nodes that exchange signals using the socket protocol can choose among a variety of methods for encoding the signals that they send each other. Signals may be encoded as a LIJOS DataStream, serialized Java objects, simple strings, FIPA ACL strings, FIPA ACL bit efficient strings or KQML strings. This package contains a few parser classes in the form of the LijosScoreJParser, SerializationParser, StringifyParser and FIPAScoreJParser, one of which is used by a pair nodes to decode signals sent to it from the other node. Which parser is used depends on the form of signal encoding that the two nodes have decided to use at connection time.

Related Documentation

FIPA Website