Coverage Report - org.mule.transport.polling.MessageProcessorPollingConnector
 
Classes in this File Line Coverage Branch Coverage Complexity
MessageProcessorPollingConnector
0%
0/10
N/A
0
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.transport.polling;
 8  
 
 9  
 import org.mule.api.MuleContext;
 10  
 import org.mule.api.MuleException;
 11  
 import org.mule.api.construct.FlowConstruct;
 12  
 import org.mule.api.endpoint.InboundEndpoint;
 13  
 import org.mule.api.lifecycle.InitialisationException;
 14  
 import org.mule.transport.AbstractConnector;
 15  
 
 16  
 public class MessageProcessorPollingConnector extends AbstractConnector
 17  
 {
 18  
 
 19  
     public MessageProcessorPollingConnector(MuleContext context)
 20  
     {
 21  0
         super(context);
 22  0
     }
 23  
 
 24  
     @Override
 25  
     protected void doConnect() throws Exception
 26  
     {
 27  0
     }
 28  
 
 29  
     @Override
 30  
     protected void doDisconnect() throws Exception
 31  
     {
 32  0
     }
 33  
 
 34  
     @Override
 35  
     protected void doDispose()
 36  
     {
 37  0
     }
 38  
 
 39  
     @Override
 40  
     protected void doInitialise() throws InitialisationException
 41  
     {
 42  0
     }
 43  
 
 44  
     @Override
 45  
     protected void doStart() throws MuleException
 46  
     {
 47  0
     }
 48  
 
 49  
     @Override
 50  
     protected void doStop() throws MuleException
 51  
     {
 52  
 
 53  0
     }
 54  
 
 55  
     public String getProtocol()
 56  
     {
 57  0
         return "polling";
 58  
     }
 59  
 
 60  
     @Override
 61  
     protected Object getReceiverKey(FlowConstruct flowConstruct, InboundEndpoint endpoint)
 62  
     {
 63  0
         return flowConstruct.getName() + "~" + endpoint.getEndpointURI().getAddress();
 64  
     }
 65  
 
 66  
 }