~elambert/gearman-java/mergejgs

« back to all changes in this revision

Viewing changes to test/org/gearman/worker/NullNameFunction.java

  • Committer: Eric Lambert
  • Date: 2009-08-15 19:08:07 UTC
  • mfrom: (31.1.1 fixes)
  • Revision ID: eric.d.lambert@gmail.com-20090815190807-k33t9rgdn324pk1p
merge fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2009 by Eric Lambert <Eric.Lambert@sun.com>
 
3
 * Use and distribution licensed under the BSD license.  See
 
4
 * the COPYING file in the parent directory for full text.
 
5
 */
 
6
package org.gearman.worker;
 
7
 
 
8
import org.gearman.client.GearmanIOEventListener;
 
9
import org.gearman.common.GearmanPacket;
 
10
 
 
11
public class NullNameFunction implements GearmanFunction {
 
12
 
 
13
    public String getName() {
 
14
        return null;
 
15
    }
 
16
 
 
17
    public void setData(Object data) {
 
18
        throw new UnsupportedOperationException("Not supported yet.");
 
19
    }
 
20
 
 
21
    public void setJobHandle(byte[] handle) throws IllegalArgumentException {
 
22
        throw new UnsupportedOperationException("Not supported yet.");
 
23
    }
 
24
 
 
25
    public byte[] getJobHandle() {
 
26
        throw new UnsupportedOperationException("Not supported yet.");
 
27
    }
 
28
 
 
29
    public void registerEventListener(GearmanIOEventListener listener)
 
30
            throws IllegalArgumentException {
 
31
        throw new UnsupportedOperationException("Not supported yet.");
 
32
    }
 
33
 
 
34
    public void fireEvent(GearmanPacket event) {
 
35
        throw new UnsupportedOperationException("Not supported yet.");
 
36
    }
 
37
 
 
38
    public GearmanPacket call() throws Exception {
 
39
        throw new UnsupportedOperationException("Not supported yet.");
 
40
    }
 
41
}