Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.comm.rtt
Class RttChannelsTable

public class RttChannelsTable      


Title:RttChannelsTable



Description: The RttChannelsTable stores the Rtt channels that get created.


Copyright: Copyright (c) 2005



Company:NewStep Networks

Version:
1.0
Author:
atomus
 
Links:
Kernel Association Association Link
to Class RttChannelsTable
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier role:
Singleton factory
Supplier visibility:
private
Custom properties
link.
pattern:
Singleton
shapeType:
PatternLink
 
 

Field Summary
private List
private static RttChannelsTable
Constructor Summary
protected void
Method Summary
public synchronized void
public synchronized void
public synchronized boolean
public synchronized Channel
findChannel(Integer partnerId)
public static synchronized RttChannelsTable
public synchronized void
public String
public synchronized void
updateId(Channel channel, Integer partnerId)
Field Detail
cList
private List cList
Multiplicity:
1
 

instance
private static RttChannelsTable instance
Multiplicity:
1
Static.
Custom properties
pattern:
Singleton
shapeType:
PatternLink
 
Constructor Detail
RttChannelsTable
protected void RttChannelsTable ()
 
Stereotype:
create
 
Method Detail
addChannel
public synchronized void addChannel (Channel channel)
 
Adds the given channel to the table
Parameters:
channel
Synchronized.
 

cleanTable
public synchronized void cleanTable ()
 
Cleans up all the channels in the table
Synchronized.
 

findChannel
public synchronized boolean findChannel (Channel channel)
 
Looks for the given channel
Parameters:
channel
Return:
Channel
Synchronized.
 

findChannel
public synchronized Channel findChannel (Integer partnerId)
 
Finds a channel with the given id
Parameters:
partnerId
Return:
TODO
Synchronized.
 

getInstance
public static synchronized RttChannelsTable getInstance ()
 
Returns the instance of the RttChannelsTables
Return:
RttChannelsTable
Static.
Synchronized.
 

removeChannel
public synchronized void removeChannel (Channel channel)
 
Removes the given channel from the table
Parameters:
channel
Synchronized.
 

toString
public String toString ()
 
External reprezentation of the table
 

updateId
public synchronized void updateId (Channel channel, Integer partnerId)
 
Updates the channel with the corresponding id.
Parameters:
channel
partnerId
Synchronized.
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD