mil.dod.th.ose.remote.integration/src/mil/dod/th/ose/remote/integration/namespace/TestCustomCommsNamespace_TransportLayer.java
@Test
    public void testCreateTransportLayer() throws IOException, InterruptedException
    {
        //phys and link layers
        SharedMessages.UUID phys = RemotePhysicalLinkUtils.createPhysicalLink(
                CustomCommTypesGen.PhysicalLinkType.Enum.I_2_C, 
                "transPhys", socket);
        
        SharedMessages.UUID link = RemoteLinkLayerUtils.createLinkLayer(
                "transLink", ExampleLinkLayer.class.getName(), phys, socket);
        
        // request data to create a new transport layer
        SharedMessages.UUID localTrans = RemoteTransportLayerUtils.createTransportLayer(
            "trannyTrans", EchoTransport.class.getName(), link, socket);

        //cleanup
        RemoteTransportLayerUtils.removeTransportLayer(localTrans, socket);
        RemoteLinkLayerUtils.removeLink(link, socket);
        RemotePhysicalLinkUtils.removePhysicalLink(phys, socket);
    }
/**
     * Verify that the system can remotely create a transport layer. 
     */
Verify that the system can remotely create a transport layer.
Verify that the system can remotely create a transport layer .
@Test
    public void testCreateTransportLayer() throws IOException, InterruptedException
    {
        SharedMessages.UUID phys = RemotePhysicalLinkUtils.createPhysicalLink(
                CustomCommTypesGen.PhysicalLinkType.Enum.I_2_C, 
                "transPhys", socket);
        SharedMessages.UUID link = RemoteLinkLayerUtils.createLinkLayer(
                "transLink", ExampleLinkLayer.class.getName(), phys, socket);
        SharedMessages.UUID localTrans = RemoteTransportLayerUtils.createTransportLayer(
            "trannyTrans", EchoTransport.class.getName(), link, socket);
        RemoteTransportLayerUtils.removeTransportLayer(localTrans, socket);
        RemoteLinkLayerUtils.removeLink(link, socket);
        RemotePhysicalLinkUtils.removePhysicalLink(phys, socket);
    }
@ Test public void testCreateTransportLayer ( ) throws IOException , InterruptedException { SharedMessages . UUID phys = RemotePhysicalLinkUtils . createPhysicalLink ( CustomCommTypesGen . PhysicalLinkType . Enum . I_2_C , "transPhys" , socket ) ; SharedMessages . UUID link = RemoteLinkLayerUtils . createLinkLayer ( "transLink" , ExampleLinkLayer . class . getName ( ) , phys , socket ) ; SharedMessages . UUID localTrans = RemoteTransportLayerUtils . createTransportLayer ( "trannyTrans" , EchoTransport . class . getName ( ) , link , socket ) ; RemoteTransportLayerUtils . removeTransportLayer ( localTrans , socket ) ; RemoteLinkLayerUtils . removeLink ( link , socket ) ; RemotePhysicalLinkUtils . removePhysicalLink ( phys , socket ) ; }
Verify that the system can remotely create a transport layer.
Verify that the system can remotely create a transport layer .
//phys and link layers // request data to create a new transport layer //cleanup