1 23 24 package org.objectweb.fractal.gui.model; 25 26 29 30 public class BasicClientInterface extends BasicInterface 31 implements ClientInterface 32 { 33 34 38 39 private Binding binding; 40 41 46 47 BasicClientInterface (final BasicComponent owner) { 48 super(owner); 49 complementaryItf = new BasicServerInterface(this); 50 } 51 52 57 58 BasicClientInterface (final ServerInterface externalItf) { 59 super(externalItf); 60 } 61 62 67 68 BasicClientInterface (final ClientInterface rootCollectionItf, final String suffix) { 69 super(rootCollectionItf, 0); 70 if (suffix != null) { 71 this.name = suffix; 72 } 73 complementaryItf = new BasicServerInterface(this); 74 ((BasicInterface)rootCollectionItf).addSlaveCollectionInterface(this); 75 } 76 77 public Binding getBinding () { 78 return binding; 79 } 80 81 87 88 void setBinding (final Binding binding) { 89 this.binding = binding; 90 } 91 } 92 | Popular Tags |