public class EndPointImpl extends Object implements EndPoint
| Constructor and Description |
|---|
EndPointImpl()
Creates a empty end point.
|
EndPointImpl(String fullyQualifiedEndPoint)
Creates a EndPoint from a fully qualified peer name of the form: SIP/NNN
LOCAL/NNN TODO: the tech encoding should probably be specific to a
particular pbx Implementation.
|
EndPointImpl(TechType defaultTech,
String endPointName)
Creates an EndPoint from from a simple endpoint name and a tech.
|
EndPointImpl(TechType defaultTech,
Trunk trunk,
String endPointName) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EndPoint rhs) |
String |
getFullyQualifiedName()
Returns the fully qualified endPoint.
|
String |
getSimpleName()
Returns the simple name of the EndPoint sans the tech. e.g.
|
String |
getSIPSimpleName()
Returns the simple name of a SIP EndPoint sans the tech. e.g.
|
TechType |
getTech()
Returns the Tech that is used to reach this endpoint.
|
Trunk |
getTrunk() |
boolean |
isDAHDI() |
boolean |
isEmpty() |
boolean |
isLocal() |
boolean |
isSame(EndPoint rhs) |
boolean |
isSIP()
For the purposes of asterisk IAX and SIP are both considered SIP.
|
boolean |
isUnknown()
Returns true if the tech is not know for this end point.
|
String |
toString() |
public EndPointImpl(String fullyQualifiedEndPoint)
fullyQualifiedPeerName - public EndPointImpl()
public EndPointImpl(TechType defaultTech, String endPointName)
_tech - peerName - public String getFullyQualifiedName()
getFullyQualifiedName in interface EndPointpublic Trunk getTrunk()
public int compareTo(EndPoint rhs)
compareTo in interface Comparable<EndPoint>public boolean isSIP()
public boolean isDAHDI()
public String getSimpleName()
EndPointgetSimpleName in interface EndPointpublic boolean isUnknown()
EndPointpublic TechType getTech()
EndPointpublic String getSIPSimpleName()
EndPointgetSIPSimpleName in interface EndPointCopyright © 2004–2024. All rights reserved.