|
Last change
on this file since 35 was
22,
checked in by rings, 16 years ago
|
|
|
-
Property svn:executable set to
*
|
|
File size:
576 bytes
|
| Line | |
|---|
| 1 | #include "DispatcherFactory.h" |
|---|
| 2 | #include "EthernetDispatcher.h" |
|---|
| 3 | #include "IpDispatcher.h" |
|---|
| 4 | #include "UdpDispatcher.h" |
|---|
| 5 | #include "TcpDispatcher.h" |
|---|
| 6 | #include "SipDispatcher.h" |
|---|
| 7 | |
|---|
| 8 | DispatcherFactory::DispatcherFactory() { |
|---|
| 9 | Register(EProtocolType_Ethernet, &(EthernetDispatcher::Instance())); |
|---|
| 10 | Register(EProtocolType_IPv4, &(IpDispatcher::Instance())); |
|---|
| 11 | Register(EProtocolType_Udp, &(UdpDispatcher::Instance())); |
|---|
| 12 | Register(EProtocolType_Tcp, &(TcpDispatcher::Instance())); |
|---|
| 13 | Register(EProtocolType_Sip, &(SipDispatcher::Instance())); |
|---|
| 14 | } |
|---|
| 15 | |
|---|
| 16 | DispatcherFactory::~DispatcherFactory() { |
|---|
| 17 | |
|---|
| 18 | } |
|---|
| 19 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.