2
* Copyright (C) 2009 by Eric Herman <eric@freesa.org>
3
* Use and distribution licensed under the
4
* GNU Lesser General Public License (LGPL) version 2.1.
5
* See the COPYING file in the parent directory for full text.
7
package org.gearman.common;
9
import java.util.Arrays;
10
import java.util.List;
12
import org.gearman.util.NotImplementedException;
14
public class ThrowingConnection implements PacketConnection, TextConnection {
17
throw new NotImplementedException();
21
throw new NotImplementedException();
24
public GearmanPacket read() {
25
throw new NotImplementedException();
28
public void write(GearmanPacket request) {
29
throw new NotImplementedException("" + request);
32
public List<String> getTextModeListResult(String command) {
33
throw new NotImplementedException(command);
36
public String getTextModeResult(String command, Object[] params) {
39
msg = command + " " + Arrays.asList(params);
41
throw new NotImplementedException(msg);