de.knup.jedi.jayshare.Fileshare
Class ServiceReplyBuilder
java.lang.Object
|
+--de.knup.jedi.jayshare.Fileshare.FileshareComponentBuilder
|
+--de.knup.jedi.jayshare.Fileshare.ServiceReplyBuilder
- public class ServiceReplyBuilder
- extends FileshareComponentBuilder
Field Summary |
private java.lang.String |
host
|
private int |
port
|
private java.lang.String |
proto
|
Method Summary |
Extension |
build()
build generates an Extension-derived object based on the
current state of this ExtensionBuilder |
java.lang.String |
getHost()
|
int |
getPort()
|
java.lang.String |
getProtocol()
|
void |
reset()
reset resets the interface for the builder to default
values, so that it may be reused. |
void |
setHost(java.lang.String h)
|
void |
setPort(int p)
|
void |
setProtocol(java.lang.String p)
|
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
proto
private java.lang.String proto
host
private java.lang.String host
port
private int port
ServiceReplyBuilder
public ServiceReplyBuilder()
reset
public void reset()
- Description copied from interface: ExtensionBuilder
reset
resets the interface for the builder to default
values, so that it may be reused.
setProtocol
public void setProtocol(java.lang.String p)
setHost
public void setHost(java.lang.String h)
setPort
public void setPort(int p)
getProtocol
public java.lang.String getProtocol()
getHost
public java.lang.String getHost()
getPort
public int getPort()
build
public Extension build()
throws java.lang.InstantiationException
- Description copied from interface: ExtensionBuilder
build
generates an Extension-derived object based on the
current state of this ExtensionBuilder- Tags copied from interface: ExtensionBuilder
- Returns:
- an
Extension
object - Throws:
- java.lang.InstantiationException - if insufficient or malformed data is
present