Fix This Page
The Protocol Adapters are responsible for the actual communication to and from a device. They usually operate in a certain domain, and might use common/ generic functions from the platform.
The Open Smart Grid Platform currently has the following protocol adapters:
- Protocol-Adapter-DLMS: Smart Metering
- Protocol-Adapter-IEC61850: Public Lighting, Micro Grids and Distribution Automation
- Protocol-Adapter-OSLP: Public Lighting and Micro Grids
General package structure
- config: Contains the configuration files for the Component. Uses the property files in /etc/osp/.
- mapping: Custom Orika converters.
- services: Contains the (functional) services that control communication from (and to) the device. Also persists requests and responses, and deals with security. Actual communication is done through the classes in the infra package.
Contains the Protocol Adapter Objects used for the Protocol Adapter.
- requests: Objects representing the requests that are supported by this adapter.
- responses: Objects representing the responses that are supported by this adapter.
- entities: Entities used for persistence.
- repositories: Repositories used for persistence.
Contains the exceptions that might be thrown while communication with a device, e.g. ValidationException, MessageRejectedException, etc.
This package contains all the code for communication through JMS (Platform) and Networking (Device).
- messaging: Contains the JMS Messages, MessageListeners, MessageSenders and MessageProcessors.
- networking: Contains the classes that are responsible for connecting to a device using a certain protocol.
Services used to check the request status.