2 // Copyright (c) 2013 Ford Motor Company
4 package com.smartdevicelink.transport;
6 import com.smartdevicelink.exception.SmartDeviceLinkException;
8 public interface ISmartDeviceLinkTransport {
10 void connect() throws SmartDeviceLinkException;
14 boolean sendBytes(byte[] message);
15 boolean sendBytes(byte[] message, int offset, int length);
17 void addTransportListener(ITransportListener transListener);
21 void setAppName(String appName);