1635445ceace4c071f67dd0072c0a5b49398140d
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.control.core / src / org / eclipse / tracecompass / internal / lttng2 / control / core / relayd / impl / LttngRelaydConnector_Unsupported.java
1 /**********************************************************************
2 * Copyright (c) 2014 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Matthew Khouzam - Initial implementation
11 **********************************************************************/
12
13 package org.eclipse.tracecompass.internal.lttng2.control.core.relayd.impl;
14
15 import java.util.List;
16
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;
24
25 /**
26 * Unsupported version of the relay daemon
27 *
28 * @author Matthew Khouzam
29 */
30 public class LttngRelaydConnector_Unsupported implements ILttngRelaydConnector {
31
32 @Override
33 public List<SessionResponse> getSessions() {
34 throw new UnsupportedOperationException();
35 }
36
37 @Override
38 public AttachSessionResponse attachToSession(SessionResponse lttngViewerSession) {
39 throw new UnsupportedOperationException();
40 }
41
42 @Override
43 public String getMetadata(AttachSessionResponse attachedSession) {
44 throw new UnsupportedOperationException();
45 }
46
47 @Override
48 public TracePacketResponse getNextPacket(StreamResponse stream) {
49 throw new UnsupportedOperationException();
50 }
51
52 @Override
53 public TracePacketResponse getPacketFromStream(IndexResponse index, long id) {
54 throw new UnsupportedOperationException();
55 }
56
57 @Override
58 public List<StreamResponse> getNewStreams() {
59 throw new UnsupportedOperationException();
60 }
61
62 @Override
63 public CreateSessionResponse createSession() {
64 throw new UnsupportedOperationException();
65 }
66
67 @Override
68 public IndexResponse getNextIndex(StreamResponse stream) {
69 throw new UnsupportedOperationException();
70 }
71
72 @Override
73 public void close() {
74 }
75
76 }
This page took 0.039937 seconds and 4 git commands to generate.