1 /**********************************************************************
2 * Copyright (c) 2014 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Matthew Khouzam - Initial implementation
11 **********************************************************************/
13 package org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.relayd
.impl
;
15 import java
.util
.List
;
17 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.relayd
.ILttngRelaydConnector
;
18 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.relayd
.commands
.AttachSessionResponse
;
19 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.relayd
.commands
.CreateSessionResponse
;
20 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.relayd
.commands
.IndexResponse
;
21 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.relayd
.commands
.SessionResponse
;
22 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.relayd
.commands
.StreamResponse
;
23 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.relayd
.commands
.TracePacketResponse
;
26 * Unsupported version of the relay daemon
28 * @author Matthew Khouzam
30 public class LttngRelaydConnector_Unsupported
implements ILttngRelaydConnector
{
33 public List
<SessionResponse
> getSessions() {
34 throw new UnsupportedOperationException();
38 public AttachSessionResponse
attachToSession(SessionResponse lttngViewerSession
) {
39 throw new UnsupportedOperationException();
43 public String
getMetadata(AttachSessionResponse attachedSession
) {
44 throw new UnsupportedOperationException();
48 public TracePacketResponse
getNextPacket(StreamResponse stream
) {
49 throw new UnsupportedOperationException();
53 public TracePacketResponse
getPacketFromStream(IndexResponse index
, long id
) {
54 throw new UnsupportedOperationException();
58 public List
<StreamResponse
> getNewStreams() {
59 throw new UnsupportedOperationException();
63 public CreateSessionResponse
createSession() {
64 throw new UnsupportedOperationException();
68 public IndexResponse
getNextIndex(StreamResponse stream
) {
69 throw new UnsupportedOperationException();