Skip to content
Snippets Groups Projects
Commit e1a7fb8f authored by Hendrik Buschmeier's avatar Hendrik Buschmeier
Browse files

Simplyfied exposed interface of several classes.

parent 92fd84c6
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ public abstract class Buffer
/**
* Call registered IU event handler functions registered for this event_type and category.
*/
public void callIuEventHandlers(String uid, boolean local, IUEventType type, String category)
protected void callIuEventHandlers(String uid, boolean local, IUEventType type, String category)
{
for (IUEventHandler h : eventHandlers)
{
......
......@@ -80,7 +80,7 @@ public class InputBuffer extends Buffer
// remote_server = rsb.createRemoteServer(rsb.Scope(str(iu.owner_name)))
// self._remote_server_store[iu.owner_name] = remote_server
// return remote_server
public RemoteServer getRemoteServer(AbstractIU iu)
protected RemoteServer getRemoteServer(AbstractIU iu)
{
if (remoteServerStore.containsKey(iu.getOwnerName()))
{
......
......@@ -54,7 +54,7 @@ public class LocalIU extends AbstractIU
// self.owner_name = buffer.unique_name
// self._payload.owner_name = buffer.unique_name
//
public void setBuffer(OutputBuffer buffer)
protected void setBuffer(OutputBuffer buffer)
{
if (outputBuffer != null)
{
......
......@@ -327,7 +327,7 @@ public class OutputBuffer extends Buffer
// '''Publish an IU.'''
// informer = self._get_informer(iu._category)
// informer.publishData(iu)
public void publishIU(AbstractIU iu)
private void publishIU(AbstractIU iu)
{
Informer<Object> informer = getInformer(iu.getCategory());
try
......@@ -364,7 +364,7 @@ public class OutputBuffer extends Buffer
* to enable remote components to filter out updates that originated
* from their own operations
*/
public void sendIUCommission(AbstractIU iu, String writerName)
protected void sendIUCommission(AbstractIU iu, String writerName)
{
IUCommission iuc = Ipaaca.IUCommission.newBuilder().setUid(iu.getUid()).setRevision(iu.getRevision())
.setWriterName(iu.getOwnerName() != null ? iu.getOwnerName() : writerName).build();
......@@ -406,7 +406,7 @@ public class OutputBuffer extends Buffer
// informer = self._get_informer(iu._category)
// informer.publishData(payload_update)
public void sendIUPayloadUpdate(AbstractIU iu, IUPayloadUpdate update)
protected void sendIUPayloadUpdate(AbstractIU iu, IUPayloadUpdate update)
{
Informer<Object> informer = getInformer(iu.getCategory());
try
......@@ -419,7 +419,7 @@ public class OutputBuffer extends Buffer
}
}
public void sendIULinkUpdate(AbstractIU iu, IULinkUpdate update)
protected void sendIULinkUpdate(AbstractIU iu, IULinkUpdate update)
{
Informer<Object> informer = getInformer(iu.getCategory());
try
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment