- Timestamp:
- Apr 15, 2010, 3:49:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/Client.java
r860 r862 6 6 7 7 public class Client { 8 8 public ResourceInfo[] getListResources(String director, String resource){ 9 ListResourcesType lrt = new ListResourcesType(); 10 lrt.setDirector(director); 11 lrt.setResourceType(resource); 12 return getListResources(lrt); 13 } 9 14 public ResourceInfo[] getListResources(ListResourcesType lrt){ 10 15 VanHelsingStub stub; … … 24 29 return new ResourceInfo[0]; 25 30 } 26 31 32 public SimpleResource getSimpleResource(String director, int resId){ 33 GetResourceType grt = new GetResourceType(); 34 grt.setDirector(director); 35 grt.setResId(resId); 36 return getSimpleResource(grt); 37 } 27 38 public SimpleResource getSimpleResource(GetResourceType grt){ 28 39 VanHelsingStub stub; … … 46 57 return new SimpleResource(new ResourceInfo(), new ResourceAttributeType[0]); 47 58 } 48 59 public SetSimpleResourceResponse setSimpleResource(){ 60 ResourceInitialization ri = new ResourceInitialization(); 61 return setSimpleResource(ri); 62 } 49 63 public SetSimpleResourceResponse setSimpleResource(ResourceInitialization ri){ 50 64 VanHelsingStub stub; … … 74 88 return stub; 75 89 } 76 77 90 public static void main(String args[]){ 78 91 Client c = new Client();
Note:
See TracChangeset
for help on using the changeset viewer.