|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBaseBundleActivator
org.eclipse.soda.dk.transport.bundle.TransportBundle
org.eclipse.soda.dk.udp.transport.bundle.UdpTransportBundle
public class UdpTransportBundle
User Diagram Protocol (UDP) Transport.
The transport bundle activator class creates and registers the UdpTransport transport.
The devicekit properties keys and default values.
The list of exported services:
UdpTransportService,
TransportService| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME
Defines the class name. |
static java.lang.String[] |
DEVICE_CATEGORY
Defines the org.osgi.service.device.Constants.DEVICE_CATEGORY property. |
static java.lang.String[] |
EXPORTED_SERVICE_NAMES
Defines the service name(s) to be registered by the UdpTransport bundle. |
| Constructor Summary | |
|---|---|
UdpTransportBundle()
|
|
| Method Summary | |
|---|---|
java.util.Hashtable |
createProperties()
Gets the properties to be registered with the service(s). |
TransportService |
createService(ConnectionService connection)
Creates the transport service to be registered with the OSGi system. |
java.lang.String[] |
getExportedServiceNames()
Return the exported service name(s) to be registered by the UdpTransport bundle. |
| Methods inherited from class org.eclipse.soda.dk.transport.bundle.TransportBundle |
|---|
activate, deactivate, getDefaultConnection, getServiceName, getTransport, log, log, setTransport |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.osgi.framework.BundleActivator |
|---|
start, stop |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
public static final java.lang.String[] DEVICE_CATEGORY
public static final java.lang.String[] EXPORTED_SERVICE_NAMES
| org.eclipse.soda.dk.transport.service.TransportService |
| Constructor Detail |
|---|
public UdpTransportBundle()
| Method Detail |
|---|
public java.util.Hashtable createProperties()
createProperties in class TransportBundle| org.eclipse.soda.dk.connection.bundle.ServiceBundle.DEVICE_CLASS | Udp |
| org.osgi.framework.Constants.SERVICE_PID | UdpTransportService.SERVICE_NAME |
| org.osgi.framework.Constants.SERVICE_DESCRIPTION | User Diagram Protocol (UDP) Transport |
| org.osgi.framework.Constants.SERVICE_VENDOR | Eclipse |
| org.osgi.service.device.Constants.DRIVER_ID | UdpTransport |
| org.osgi.framework.Constants.SERVICE_RANKING | 6 |
| org.osgi.service.device.Constants.DEVICE_CATEGORY | TransportService |
| org.eclipse.soda.dk.connection.bundle.ServiceBundle.DEVICE_REVISION | 1.0.0 |
public TransportService createService(ConnectionService connection)
createService in class TransportBundleconnection - The connection (ConnectionService) parameter.
UdpTransportpublic java.lang.String[] getExportedServiceNames()
getExportedServiceNames in class TransportBundle
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||