gr.uoa.di.madgik.grs.proxy
Interface IWriterProxy
- All Superinterfaces:
- IProxy
- All Known Implementing Classes:
- HTTPWriterProxy, LocalWriterProxy, TCPWriterProxy
public interface IWriterProxy
- extends IProxy
The IProxy
specialization that needs to be implemented by the proxy implementations
that are used by writer clients
- Author:
- gpapanikos
Method Summary |
IMirror |
bind()
After setting the registry key, this method is used to retrieve the IMirror that can
serve the mirroring procedure for a reader |
java.net.URI |
getLocator()
Retrieves a locator through which a reader proxy can contact the IMirror
serving the registered IBuffer |
void |
setKey(java.lang.String key)
Sets the key that was assigned to the serving IBuffer through the buffer registry |
setKey
void setKey(java.lang.String key)
throws GRS2ProxyException
- Sets the key that was assigned to the serving
IBuffer
through the buffer registry
- Parameters:
key
- the registry key
- Throws:
GRS2ProxyException
- the status of the proxy does not permit this operation to be completed
bind
IMirror bind()
throws GRS2ProxyException
- After setting the registry key, this method is used to retrieve the
IMirror
that can
serve the mirroring procedure for a reader
- Returns:
- the associated
IMirror
- Throws:
GRS2ProxyException
- the IMirror
cannot be created
getLocator
java.net.URI getLocator()
throws GRS2ProxyException
- Retrieves a locator through which a reader proxy can contact the
IMirror
serving the registered IBuffer
- Returns:
- the URI locator
- Throws:
GRS2ProxyException
- the status of the proxy does not permit this operation to be completed