Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main/scala/com/comcast/xfinity/sirius/api/Sirius.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ package com.comcast.xfinity.sirius.api

import java.util.concurrent.Future

@deprecated(message = "Please upgrade to using com.comcast.xfinity.sirius.api.api1Dot2.Sirius1Dot2 instead",
since = "1.2.0")
trait Sirius {

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/**
* Copyright 2014 Comcast Cable Communications Management, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.comcast.xfinity.sirius.api.api1Dot2

import com.comcast.xfinity.sirius.api.{Sirius => Sirius1Dot1}

/**
* Methods added to the abstract Sirius interface in the 1.2.x series release(s).
*/
trait Sirius1Dot2Extensions {

/**
* Terminate this instance, including shutting down all internal running Actors.
*/
def shutdown(): Unit
}

/**
* Enhanced abstract Sirius interface made available in the 1.2.x series release(s).
*/
trait Sirius1Dot2 extends Sirius1Dot1 with Sirius1Dot2Extensions