This section provides instructions to use the transport wizard to create transports. Refer to the information in this section to understand how to use the transport wizard and for descriptions of the fields in the transport wizard. Refer to Examples for instructions to use the device wizard to create transports for specific devices.
on the left side of the WebSphere
Studio Device Developer interface.
on the right side of the interface.
Figure 4. Open transport wizard panel
Table 3. Transport fields and descriptions
| Field | Description |
|---|---|
| Transport Name | Specify the unique name
for this transport.
|
| Package Base | Specify the package base to use to generate Java. |
| Version | Specify the version number that you want to assign to your transport. |
| Vendor | Specify the appropriate vendor for the transport. |
| Description | Specify a description for your transport. This field is optional. |
| Response Timeout | Specify a response timeout for the transport. The response timeout is the time in milliseconds that the transport will wait on a response. optional. |
| Connection | Specify the connection used by the transport This field is optional. |
| Connection Implementation | Specify an
implementation of the transport service that you
selected.
|
| Create Test Project | Select Create Test Project to generate a test project. |
| Abstract Transport | Select Abstract Transport if the transport will be a superclass. If this option is selected, a transport test project cannot be created. |
| Generate a processInput Method | Select Generate processInput Method if the transport should implement the processInput method which is used to process incoming bytes from the transport. |
| Generate a write Method | Select Generate write Method if the transport should implement the write method which is used to process outgoing bytes. |
| Generate a Bundle Activator | Select Generate a Bundle Activator to generate a bundle activator for the transport. |
| Generate a Managed Bundle Activator | Select Generate a Managed Bundle Activator to generate a managed bundle activator for the transport. |
| Generate a Managed Factory Bundle Activator | Select Generate a Managed Factory Bundle Activator to generate a managed factory bundle activator for the transport. |
Figure 5. New transport wizard
After you create a new transport with the transport wizard, the Device Kit creates a new project in your workspace. The name of this project is the name that was entered for Transport Name followed by "Transport".
If you selected Create test project, the Device Kit creates a second new project in your workspace. The name of the test project is the name that was entered for Transport Name followed by "TransportTest".
© Copyright 2001, 2007 IBM Corporation and others.