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

com.newstep.solid.comm
Class ChannelAccessPoint
com.newstep.solid.management.runtime.AsyncManagedExecutable
  |
  +--com.newstep.solid.comm.ChannelAccessPoint
All Implemented Interfaces:
       ManagedExecutable
Direct Known Subclasses:
       RttChannelAccessPoint, TCPChannelAccessPoint, UDPChannelAccessPoint

public abstract class ChannelAccessPoint      

Title:ChannelAccessPoint



Description:Channel creation interface. All different types of channels must have
a ChannelAccessPoint that extends this class

Copyright: Copyright (c) 2005



Company:NewStep Networks

Version:
1.0
Author:
atomus
Abstract.
 
Links:
Kernel Association Association Link
to Class ChannelFactory
Associates type:
aggregation
Client cardinality:
1..*
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
link:
aggregation
 
Generalization Generalization Link
to Class AsyncManagedExecutable

Title:ChannelAccessPoint



Description:Channel creation interface. All different types of channels must have
a ChannelAccessPoint that extends this class

Copyright: Copyright (c) 2005



Company:NewStep Networks

Author:
atomus
Custom properties
version:
1.0
 
 

Field Summary
Constructor Summary
public void
Method Summary
public abstract Channel
public static ChannelAccessPoint
getChannelAccessPoint(String className)
public abstract void
public abstract void
listen(Address address, ChannelAccessPointListener listener, Integer connections)
public abstract Address
parseString(String string)
public abstract void
Field Detail
channelFactory
ChannelFactory channelFactory
 

channelFactory
private ChannelFactory channelFactory
Multiplicity:
1
 
Constructor Detail
ChannelAccessPoint
public void ChannelAccessPoint (ChannelFactory channelFact)
 
Stereotype:
create
Custom properties
associates:
ChannelAccessPointListener
clientCardinality:
1
link:
aggregation
__supplierQualifier_1:
0..*
 
Method Detail
getChannel
public abstract Channel getChannel (Address address)
 
Returns a channel created using the channel factory. The channel can be
furthermore connected at the provided address
Parameters:
address Address
Return:
Channel
Abstract.
Throws:
ChannelException
 

getChannelAccessPoint
public static ChannelAccessPoint getChannelAccessPoint (String className)
 
Creates a ChannelAccessPoint using the factory passed as an argument
Static.
Throws:
ChannelException
 

getChannelFactory
public ChannelFactory getChannelFactory ()
 
Gets the channel factory associated with this channel access point
Return:
ChannelFactory
 

init
public abstract void init (CommConfig config)
 
Abstract.
 

listen
public abstract void listen (Address address, ChannelAccessPointListener listener, Integer connections)
 
Starts listening at the given address. When a connection is accepted at that address
the listener is notified
Parameters:
address Address
listener ChannelAccessPointListener
Abstract.
Throws:
ChannelException
 

parseString
public abstract Address parseString (String string)
 
Utility to read a string and to transform it into the proper Address needed for
a particular ChannelAccessPoint
Parameters:
string
Return:
TODO
Abstract.
Throws:
ChannelException
 

stopListen
public abstract void stopListen (Address address)
 
Stops listening at the given address
Parameters:
address Address
Abstract.
Throws:
ChannelException
 

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