View Javadoc
1   /*
2    * Copyright (C) 2013 4th Line GmbH, Switzerland
3    *
4    * The contents of this file are subject to the terms of either the GNU
5    * Lesser General Public License Version 2 or later ("LGPL") or the
6    * Common Development and Distribution License Version 1 or later
7    * ("CDDL") (collectively, the "License"). You may not use this file
8    * except in compliance with the License. See LICENSE.txt for more
9    * information.
10   *
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14   */
15  
16  package org.fourthline.cling.support.avtransport.impl;
17  
18  import org.fourthline.cling.support.avtransport.impl.state.AbstractState;
19  import org.fourthline.cling.support.model.SeekMode;
20  import org.seamless.statemachine.StateMachine;
21  
22  import java.net.URI;
23  
24  public interface AVTransportStateMachine extends StateMachine<AbstractState> {
25  
26      public abstract void setTransportURI(URI uri, String uriMetaData);
27      public abstract void setNextTransportURI(URI uri, String uriMetaData);
28      public abstract void stop();
29      public abstract void play(String speed);
30      public abstract void pause();
31      public abstract void record();
32      public abstract void seek(SeekMode unit, String target);
33      public abstract void next();
34      public abstract void previous();
35  
36  }